USN-6574-1

Source
https://ubuntu.com/security/notices/USN-6574-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6574-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6574-1
Related
Published
2024-01-11T05:30:24.861328Z
Modified
2024-01-11T05:30:24.861328Z
Summary
Go vulnerabilities
Details

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. This issue only affected Go 1.20 in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS and Ubuntu 23.04. (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 into a denial of service. (CVE-2023-39325, CVE-2023-44487)

It was discovered that the Go net/http module did not properly validate the chunk extensions reading from a request or response body. An attacker could possibly use this issue to read sensitive information. (CVE-2023-39326)

It was discovered that Go did not properly validate the insecure "git://" protocol when using go get to fetch a module with the ".git" suffix. An attacker could possibly use this issue to bypass secure protocol checks. (CVE-2023-45285)

References

Affected packages

Ubuntu:20.04:LTS / golang-1.20

Package

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

Affected ranges

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

Affected versions

1.*

1.20.3-1ubuntu0.1~20.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.20.3-1ubuntu0.1~20.04.1",
            "binary_name": "golang-1.20"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~20.04.1",
            "binary_name": "golang-1.20-doc"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~20.04.1",
            "binary_name": "golang-1.20-go"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~20.04.1",
            "binary_name": "golang-1.20-go-dbgsym"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~20.04.1",
            "binary_name": "golang-1.20-src"
        }
    ]
}

Ubuntu:20.04:LTS / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21?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.2

Affected versions

1.*

1.21.1-1~ubuntu20.04.1

Ecosystem specific

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

Ubuntu:22.04:LTS / golang-1.20

Package

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

Affected ranges

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

Affected versions

1.*

1.20.3-1ubuntu0.1~22.04

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.20.3-1ubuntu0.1~22.04.1",
            "binary_name": "golang-1.20"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~22.04.1",
            "binary_name": "golang-1.20-doc"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~22.04.1",
            "binary_name": "golang-1.20-go"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~22.04.1",
            "binary_name": "golang-1.20-go-dbgsym"
        },
        {
            "binary_version": "1.20.3-1ubuntu0.1~22.04.1",
            "binary_name": "golang-1.20-src"
        }
    ]
}

Ubuntu:22.04:LTS / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21?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.2

Affected versions

1.*

1.21.1-1~ubuntu22.04.1

Ecosystem specific

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

Ubuntu:23.10 / golang-1.20

Package

Name
golang-1.20
Purl
pkg:deb/ubuntu/golang-1.20?arch=src?distro=mantic

Affected ranges

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

Affected versions

1.*

1.20.3-1
1.20.4-1
1.20.5-1
1.20.6-1
1.20.7-1
1.20.8-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.20.8-1ubuntu0.23.10.1",
            "binary_name": "golang-1.20"
        },
        {
            "binary_version": "1.20.8-1ubuntu0.23.10.1",
            "binary_name": "golang-1.20-doc"
        },
        {
            "binary_version": "1.20.8-1ubuntu0.23.10.1",
            "binary_name": "golang-1.20-go"
        },
        {
            "binary_version": "1.20.8-1ubuntu0.23.10.1",
            "binary_name": "golang-1.20-go-dbgsym"
        },
        {
            "binary_version": "1.20.8-1ubuntu0.23.10.1",
            "binary_name": "golang-1.20-src"
        }
    ]
}

Ubuntu:23.10 / golang-1.21

Package

Name
golang-1.21
Purl
pkg:deb/ubuntu/golang-1.21?arch=src?distro=mantic

Affected ranges

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

Affected versions

1.*

1.21~rc1-1
1.21~rc2-1
1.21~rc2-2
1.21~rc3-1
1.21~rc3-2
1.21~rc4-1
1.21.0-1
1.21.1-1

Ecosystem specific

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