CVE-2025-47906
MEDIUM6.5EPSS 0.04%Unexpected paths returned from LookPath in os/exec
發布日:2025/9/18修改日:2026/4/28
描述
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.
受影響套件(5)
- Bitnami/golangfrom 0, < 1.23.12, >= 1.24.0, < 1.24.6
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Go/stdlibfrom 0, < 1.23.12, >= 1.24.0, < 1.24.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |
參考連結(7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-47906
- PATCHhttps://go.dev/cl/691775
- REPORThttps://go.dev/issue/74466
- WEBhttps://groups.google.com/g/golang-announce/c/x5MKroML2yM
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-47906
- WEBhttps://pkg.go.dev/vuln/GO-2025-3956
- WEBhttp://www.openwall.com/lists/oss-security/2025/08/06/1