CVE-2024-45336

NameCVE-2024-45336
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-1.15 (PTS)bullseye1.15.15-1~deb11u4vulnerable
golang-1.19 (PTS)bookworm1.19.8-2vulnerable
golang-1.22 (PTS)sid, trixie1.22.12-3fixed
golang-1.23 (PTS)trixie1.23.6-3fixed
sid1.23.6-4fixed
golang-1.24 (PTS)sid, trixie1.24.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-1.15source(unstable)(unfixed)
golang-1.19source(unstable)(unfixed)
golang-1.22source(unstable)1.22.11-1
golang-1.23source(unstable)1.23.5-1
golang-1.24source(unstable)1.24~rc2-1

Notes

[bookworm] - golang-1.19 <no-dsa> (Minor issue)
[bullseye] - golang-1.15 <postponed> (Minor issue)
https://groups.google.com/g/golang-announce/c/sSaUhLA-2SI
https://go.dev/issue/70530
Fixed by: https://github.com/golang/go/commit/6b605505047416bbbf513bba1540220a8897f3f6 (go1.24rc2)
Fixed by: https://github.com/golang/go/commit/bb8230f80535945648e8b56739ad450cf433eba9 (go1.23.5)
Fixed by: https://github.com/golang/go/commit/b72d56f98d6620ebe07626dca4bb67ea8e185379 (go1.22.11)

Search for package or bug name: Reporting problems