USN-6886-1

See a problem?
Source
https://ubuntu.com/security/notices/USN-6886-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6886-1
Related
Published
2024-07-09T12:12:13.327877Z
Modified
2024-07-09T12:12:13.327877Z
Summary
golang-1.21, golang-1.22 vulnerabilities
Details

It was discovered that the Go net/http module did not properly handle the requests when request\'s headers exceed MaxHeaderBytes. An attacker could possibly use this issue to cause a panic resulting into a denial of service. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-45288)

It was discovered that the Go net/http module did not properly validate the subdomain match or exact match of the initial domain. An attacker could possibly use this issue to read sensitive information. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-45289)

It was discovered that the Go net/http module did not properly validate the total size of the parsed form when parsing a multipart form. An attacker could possibly use this issue to cause a panic resulting into a denial of service. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-45290)

It was discovered that the Go crypto/x509 module did not properly handle a certificate chain which contains a certificate with an unknown public key algorithm. An attacker could possibly use this issue to cause a panic resulting into a denial of service. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-24783)

It was discovered that the Go net/mail module did not properly handle comments within display names in the ParseAddressList function. An attacker could possibly use this issue to cause a panic resulting into a denial of service. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-24784)

It was discovered that the Go html/template module did not validate errors returned from MarshalJSON methods. An attacker could possibly use this issue to inject arbitrary code into the Go template. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-24785)

It was discovered that the Go net module did not properly validate the DNS message in response to a query. An attacker could possibly use this issue to cause a panic resulting into a denial of service. This issue only affected Go 1.22. (CVE-2024-24788)

It was discovered that the Go archive/zip module did not properly handle certain types of invalid zip files differs from the behavior of most zip implementations. An attacker could possibly use this issue to cause a panic resulting into a denial of service. (CVE-2024-24789)

It was discovered that the Go net/netip module did not work as expected for IPv4-mapped IPv6 addresses in various Is methods. An attacker could possibly use this issue to cause a panic resulting into a denial of service. (CVE-2024-24790)

References

Affected packages

Ubuntu:20.04:LTS / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.3?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.1-1~ubuntu20.04.3

Affected versions

1.*

1.21.1-1~ubuntu20.04.1
1.21.1-1~ubuntu20.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "golang-1.21-doc": "1.21.1-1~ubuntu20.04.3",
            "golang-1.21": "1.21.1-1~ubuntu20.04.3",
            "golang-1.21-src": "1.21.1-1~ubuntu20.04.3",
            "golang-1.21-go": "1.21.1-1~ubuntu20.04.3"
        }
    ]
}

Ubuntu:22.04:LTS / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.3?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.1-1~ubuntu22.04.3

Affected versions

1.*

1.21.1-1~ubuntu22.04.1
1.21.1-1~ubuntu22.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "golang-1.21-doc": "1.21.1-1~ubuntu22.04.3",
            "golang-1.21": "1.21.1-1~ubuntu22.04.3",
            "golang-1.21-src": "1.21.1-1~ubuntu22.04.3",
            "golang-1.21-go": "1.21.1-1~ubuntu22.04.3"
        }
    ]
}

Ubuntu:22.04:LTS / golang-1.22

Package

Name
golang-1.22
Purl
pkg:deb/ubuntu/golang-1.22@1.22.2-2~22.04.1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.2-2~22.04.1

Affected versions

1.*

1.22.2-2~22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "golang-1.22": "1.22.2-2~22.04.1",
            "golang-1.22-doc": "1.22.2-2~22.04.1",
            "golang-1.22-go": "1.22.2-2~22.04.1",
            "golang-1.22-src": "1.22.2-2~22.04.1"
        }
    ]
}

Ubuntu:24.04:LTS / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21@1.21.9-1ubuntu0.1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.21.9-1ubuntu0.1

Affected versions

1.*

1.21.1-1
1.21.3-1
1.21.4-1
1.21.5-1
1.21.6-1
1.21.7-1
1.21.7-2
1.21.8-1
1.21.8-1build1
1.21.9-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "golang-1.21-doc": "1.21.9-1ubuntu0.1",
            "golang-1.21": "1.21.9-1ubuntu0.1",
            "golang-1.21-src": "1.21.9-1ubuntu0.1",
            "golang-1.21-go": "1.21.9-1ubuntu0.1"
        }
    ]
}

Ubuntu:24.04:LTS / golang-1.22

Package

Name
golang-1.22
Purl
pkg:deb/ubuntu/golang-1.22@1.22.2-2ubuntu0.1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.2-2ubuntu0.1

Affected versions

1.*

1.22~rc1-2
1.22.0-1
1.22.0-2
1.22.1-1
1.22.1-1build1
1.22.2-2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "golang-1.22": "1.22.2-2ubuntu0.1",
            "golang-1.22-doc": "1.22.2-2ubuntu0.1",
            "golang-1.22-go": "1.22.2-2ubuntu0.1",
            "golang-1.22-src": "1.22.2-2ubuntu0.1"
        }
    ]
}