Advisory

USN-6886-1

Also known as: CVE-2023-45288, CVE-2023-45289, CVE-2023-45290, CVE-2024-24783, CVE-2024-24784, CVE-2024-24785, CVE-2024-24788, CVE-2024-24789, CVE-2024-24790

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)

Severity

Not rated by the source.

Dates

Published
2024-07-09 12:12 UTC
Modified
2026-04-27 17:19 UTC

Affected packages and fixes

golang-1.21

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.21.1-1~ubuntu20.04.3 (ecosystem)

Fixed versions

1.21.1-1~ubuntu20.04.3

Fix

  • Fixed version 1.21.1-1~ubuntu20.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.21

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.21.1-1~ubuntu22.04.3 (ecosystem)

Fixed versions

1.21.1-1~ubuntu22.04.3

Fix

  • Fixed version 1.21.1-1~ubuntu22.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.22

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.22.2-2~22.04.1 (ecosystem)

Fixed versions

1.22.2-2~22.04.1

Fix

  • Fixed version 1.22.2-2~22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.21

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.21.9-1ubuntu0.1 (ecosystem)

Fixed versions

1.21.9-1ubuntu0.1

Fix

  • Fixed version 1.21.9-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

golang-1.22

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.22.2-2ubuntu0.1 (ecosystem)

Fixed versions

1.22.2-2ubuntu0.1

Fix

  • Fixed version 1.22.2-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences