🛡️ CVE-2024-45336 — golang

🟡 CVSS 6.1 — Medium ✅ No Known Exploit NVD
6.1
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Sensitive headers incorrectly sent after cross-domain redirect in net/http

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.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. A user must be tricked into taking some action. The scope is changed, meaning a successful attack can affect components beyond the vulnerable one. Rated impact: confidentiality low, integrity low, availability none.

Affected software

CVE-2024-45336 is recorded against 3 packages.

  • golang
  • stdlib
  • unknown

Timeline and source

Published on 30 January 2025 and last revised on 20 May 2025. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

go.dev (Web)
go.dev (Web)
groups.google.com (Web)
groups.google.com (Web)
pkg.go.dev (Web)
security.netapp.com (Web)
nvd.nist.gov (Web)

CVE-2024-45336 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 6.1
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2025-01-30
Updated 2026-08-12
Modified 2025-05-20
Fix URL N/A

Affected Packages

Software From version Fixed in
golang
stdlib
unknown

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in golang

CVE-2024-45336 is rated CVSS 6.1 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.