Live threats

All CVEs / Go standard library

CVE-2024-45336Go standard library net/http

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 49
Auth required
No
Published
Jan 28, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2.

Original NVD text.

What to do

  1. Apply the vendor's security update for net/http.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.22.11 1.22.11 go get stdlib@v1.22.11
Go stdlib ≥ 1.23.0-0 < 1.23.5 1.23.5 go get stdlib@v1.23.5
Go stdlib ≥ 1.24.0-0 < 1.24.0-rc.2 1.24.0-rc.2 go get stdlib@v1.24.0-rc.2

Per OSV / GitHub Advisories (GO-2025-3420). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+23)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.