CVE-2023-45289
cAdvisor vulnerability analysis and mitigation

Overview

CVE-2023-45289 is a vulnerability discovered in Go's net/http and net/http/cookiejar standard library packages. The vulnerability was disclosed on March 5, 2024, affecting Go versions prior to 1.21.8 and versions from 1.22.0-0 before 1.22.1. The issue involves incorrect handling of sensitive headers during HTTP redirects (Go Packages, Golang Announce).

Technical details

When following an HTTP redirect to a domain that is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as 'Authorization' or 'Cookie' correctly. For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (Medium) by CISA-ADP with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The vulnerability could lead to disclosure of sensitive information through maliciously crafted HTTP redirects. When exploited, sensitive headers could be unexpectedly forwarded to unintended domains, potentially exposing authorization tokens, cookies, and other sensitive data (Red Hat, NetApp Security).

Mitigation and workarounds

The vulnerability has been fixed in Go versions 1.21.8 and 1.22.1. Users are advised to upgrade to these patched versions. The fix involves correcting the behavior of subdomain matching during HTTP redirects (Go Issue, Go Packages).

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