GO-2025-3955
CrossOriginProtection insecure bypass patterns not limited to exact matches in net/http
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-47910
- Alias
- BIT-golang-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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 1.25.0, fixed 1.25.1 |
Références
- https://go.dev/cl/699275 FIX
- https://go.dev/issue/75054 REPORT
- https://groups.google.com/g/golang-announce/c/PtW9VW21NPs/m/DJhMQ-m5AQAJ WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |