CVE-2024-45336
cAdvisor vulnerability analysis and mitigation

Overview

CVE-2024-45336 is a security vulnerability discovered in the Go programming language's net/http package. The vulnerability was disclosed on January 27, 2025, affecting the HTTP client functionality. The issue occurs when the client handles sensitive headers during cross-domain redirects. This vulnerability impacts Go versions before 1.22.11 and before 1.23.5, as well as development versions before 1.24.0-rc.2 (Go Issue, NVD).

Technical details

The vulnerability involves the HTTP client's handling of sensitive headers during redirect chains. When a request containing sensitive headers (such as Authorization) is redirected from one domain to another (e.g., from a.com to b.com), the client correctly drops these headers. However, if a subsequent same-domain redirect occurs (e.g., from b.com/1 to b.com/2), the client incorrectly restores the sensitive headers that were previously dropped. The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The vulnerability could lead to unauthorized disclosure of sensitive information. When exploited, it could allow sensitive headers (including authentication credentials) to be sent to unintended destinations during redirect chains, potentially exposing confidential information to unauthorized domains (Go Announcement).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.22.11 and 1.23.5. Users are advised to upgrade to these versions or later. The fix was implemented through a patch that corrects the header handling behavior during redirect chains. Users can download the updated versions from the official Go website (Go Announcement).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management