USN-7109-1

Source
https://ubuntu.com/security/notices/USN-7109-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7109-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7109-1
Related
Published
2024-11-14T13:57:58.681854Z
Modified
2024-11-14T13:57:58.681854Z
Summary
golang-1.18 vulnerabilities
Details

Philippe Antoine discovered that Go incorrectly handled crafted HTTP/2 streams. An attacker could possibly use this issue to cause a denial of service. (CVE-2022-41723)

Marten Seemann discovered that Go did not properly manage memory under certain circumstances. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2022-41724)

Ameya Darshan and Jakob Ackermann discovered that Go did not properly validate the amount of memory and disk files ReadForm can consume. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2022-41725)

Hunter Wittenborn discovered that Go incorrectly handled the sanitization of environment variables. An attacker could possibly use this issue to run arbitrary commands. (CVE-2023-24531)

Jakob Ackermann discovered that Go incorrectly handled multipart forms. An attacker could possibly use this issue to consume an excessive amount of resources, resulting in a denial of service. (CVE-2023-24536)

Juho Nurminen discovered that Go incorrectly handled certain special characters in directory or file paths. An attacker could possibly use this issue to inject code into the resulting binaries. (CVE-2023-29402)

Vincent Dehors discovered that Go incorrectly handled permission bits. An attacker could possibly use this issue to read or write files with elevated privileges. (CVE-2023-29403)

Juho Nurminen discovered that Go incorrectly handled certain compiler directives. An attacker could possibly use this issue to execute arbitrary code. (CVE-2023-29404)

Juho Nurminen discovered that Go incorrectly handled certain crafted arguments. An attacker could possibly use this issue to execute arbitrary code at build time. (CVE-2023-29405)

Bartek Nowotarski discovered that Go incorrectly validated the contents of host headers. A remote attacker could possibly use this issue to inject additional headers or entire requests. (CVE-2023-29406)

Takeshi Kaneko discovered that Go did not properly handle comments and special tags in the script context of html/template module. An attacker could possibly use this issue to inject Javascript code and perform a cross-site scripting attack. (CVE-2023-39318, CVE-2023-39319)

It was discovered that Go did not properly validate the "//go:cgo_" directives during compilation. An attacker could possibly use this issue to inject arbitrary code during compile time. (CVE-2023-39323)

It was discovered that Go did not limit the number of simultaneously executing handler goroutines in the net/http module. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2023-39325)

Bartek Nowotarski 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. (CVE-2023-45288)

Bartek Nowotarski 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. (CVE-2023-45290)

John Howard 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. (CVE-2024-24783)

Juho Nurminen 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. (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. (CVE-2024-24785)

Yufan You 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)

Enze Wang and Jianjun Chen 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)

Geoff Franks discovered that the Go net/http module did not properly handle responses to requests with an "Expect: 100-continue" header under certain circumstances. An attacker could possibly use this issue to cause a denial of service. (CVE-2024-24791)

It was discovered that the Go parser module did not properly handle deeply nested literal values. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2024-34155)

Md Sakib Anwar discovered that the Go encoding/gob module did not properly handle message decoding under certain circumstances. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2024-34156)

It was discovered that the Go build module did not properly handle certain build tag lines with deeply nested expressions. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2024-34158)

References

Affected packages

Ubuntu:Pro:18.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.1-1ubuntu1~18.04.4+esm1

Affected versions

1.*

1.18.1-1ubuntu1~18.04.3
1.18.1-1ubuntu1~18.04.4

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4+esm1",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4+esm1",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4+esm1",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~18.04.4+esm1",
            "binary_name": "golang-1.18-src"
        }
    ]
}

Ubuntu:20.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.1-1ubuntu1~20.04.3

Affected versions

1.*

1.18.1-1ubuntu1~20.04.1
1.18.1-1ubuntu1~20.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.3",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.3",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.3",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.3",
            "binary_name": "golang-1.18-go-dbgsym"
        },
        {
            "binary_version": "1.18.1-1ubuntu1~20.04.3",
            "binary_name": "golang-1.18-src"
        }
    ]
}

Ubuntu:22.04:LTS / golang-1.18

Package

Name
golang-1.18
Purl
pkg:deb/ubuntu/golang-1.18?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.18~beta1-0ubuntu1
1.18~beta2-1ubuntu1
1.18~beta2-1ubuntu2
1.18~rc1-1ubuntu1
1.18-1ubuntu1
1.18.1-1ubuntu1
1.18.1-1ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.18.1-1ubuntu1.2",
            "binary_name": "golang-1.18"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.2",
            "binary_name": "golang-1.18-doc"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.2",
            "binary_name": "golang-1.18-go"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.2",
            "binary_name": "golang-1.18-go-dbgsym"
        },
        {
            "binary_version": "1.18.1-1ubuntu1.2",
            "binary_name": "golang-1.18-src"
        }
    ]
}