Name | CVE-2025-47910 |
Description | When using http.CrossOriginProtection, the AddInsecureBypassPattern method can unexpectedly bypass more requests than intended. CrossOriginProtection then skips validation, but forwards the original request path, which may be served by a different handler without the intended security protections. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
golang-1.15 (PTS) | bullseye | 1.15.15-1~deb11u4 | fixed |
golang-1.19 (PTS) | bookworm | 1.19.8-2 | fixed |
golang-1.23 (PTS) | sid | 1.23.10-1 | fixed |
golang-1.24 (PTS) | trixie | 1.24.4-1 | fixed |
forky, sid | 1.24.4-4 | fixed | |
golang-1.25 (PTS) | forky, sid | 1.25.0-2 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
golang-1.15 | source | (unstable) | (not affected) | |||
golang-1.19 | source | (unstable) | (not affected) | |||
golang-1.23 | source | (unstable) | (not affected) | |||
golang-1.24 | source | (unstable) | (not affected) | |||
golang-1.25 | source | (unstable) | (unfixed) |
- golang-1.24 <not-affected> (Vulnerable code introduced later)
- golang-1.23 <not-affected> (Vulnerable code introduced later)
- golang-1.19 <not-affected> (Vulnerable code introduced later)
- golang-1.15 <not-affected> (Vulnerable code introduced later)
https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ
https://go-review.googlesource.com/c/go/+/699275
https://github.com/golang/go/issues/75054
Introduced after: https://github.com/golang/go/commit/1881d680b0b573c32d3002c37902760668ffec0f (go1.25rc1)
Fixed by: https://github.com/golang/go/commit/b1959cf6f7673eaffa89bbdb00e68b30cde3aa8a (go1.25.1)