Advisory

USN-7574-1

Also known as: CVE-2024-45336, CVE-2024-45341, CVE-2025-22866, CVE-2025-22870, CVE-2025-4673

Summary

golang-1.22 vulnerabilities

Details

Kyle Seely discovered that the Go net/http module did not properly handle
sensitive headers during repeated redirects. An attacker could possibly
use this issue to obtain sensitive information. (CVE-2024-45336)

Juho Forsén discovered that the Go crypto/x509 module incorrectly handled
IPv6 addresses during URI parsing. An attacker could possibly use this
issue to bypass certificate URI constraints. (CVE-2024-45341)

It was discovered that the Go crypto module did not properly handle
variable time instructions under certain circumstances on 64-bit Power
(ppc64el) systems. An attacker could possibly use this issue to expose
sensitive information. (CVE-2025-22866)

It was discovered that the Go http/httpproxy module did not properly
handle IPv6 zone IDs during hostname matching. An attacker could possibly
use this issue to cause a denial of service. (CVE-2025-22870)

Takeshi Kaneko discovered that the Go net/http module did not properly
strip sensitive proxy headers during redirect requests. An attacker could
possibly use this issue to obtain sensitive information. (CVE-2025-4673)

Severity

Not rated by the source.

Dates

Published
2025-06-18 03:11 UTC
Modified
2026-04-27 18:04 UTC

Affected packages and fixes

golang-1.22

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

1.22.2-2~22.04.3

Fix

  • Fixed version 1.22.2-2~22.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 24.04

Affected

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

Fixed versions

1.22.2-2ubuntu0.4

Fix

  • Fixed version 1.22.2-2ubuntu0.4
    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