GO-2025-3956
Unexpected paths returned from LookPath in os/exec
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-47906
- Alias
- BIT-golang-2025-47906
Description
If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.23.12, introduced 1.24.0, fixed 1.24.6 |
Références
- https://go.dev/cl/691775 FIX
- https://go.dev/issue/74466 REPORT
- https://groups.google.com/g/golang-announce/c/x5MKroML2yM WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |