Skip to content

Commit 5032ebc

Browse files
neildgopherbot
authored andcommitted
data/reports: add GO-2025-3956
- data/reports/GO-2025-3956.yaml Updates #3956 Change-Id: I73806d492e9bdff12bda0fee09ad540916c058f1 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/704476 Auto-Submit: Damien Neil <[email protected]> Reviewed-by: Neal Patel <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent bd3b53d commit 5032ebc

File tree

3 files changed

+171
-0
lines changed

3 files changed

+171
-0
lines changed

data/cve/v5/GO-2025-3956.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-47906"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Unexpected paths returned from LookPath in os/exec",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "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."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "Go standard library",
22+
"product": "os/exec",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "os/exec",
25+
"versions": [
26+
{
27+
"version": "0",
28+
"lessThan": "1.23.12",
29+
"status": "affected",
30+
"versionType": "semver"
31+
},
32+
{
33+
"version": "1.24.0",
34+
"lessThan": "1.24.6",
35+
"status": "affected",
36+
"versionType": "semver"
37+
}
38+
],
39+
"programRoutines": [
40+
{
41+
"name": "LookPath"
42+
}
43+
],
44+
"defaultStatus": "unaffected"
45+
}
46+
],
47+
"problemTypes": [
48+
{
49+
"descriptions": [
50+
{
51+
"lang": "en",
52+
"description": "CWE-115: Misinterpretation of Input"
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"url": "https://go.dev/cl/691775"
60+
},
61+
{
62+
"url": "https://go.dev/issue/74466"
63+
},
64+
{
65+
"url": "https://groups.google.com/g/golang-announce/c/x5MKroML2yM"
66+
},
67+
{
68+
"url": "https://pkg.go.dev/vuln/GO-2025-3956"
69+
}
70+
]
71+
}
72+
}
73+
}

data/osv/GO-2025-3956.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-3956",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-47906",
8+
"CVE-2025-47906"
9+
],
10+
"summary": "Unexpected paths returned from LookPath in os/exec",
11+
"details": "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.",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "stdlib",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0"
24+
},
25+
{
26+
"fixed": "1.23.12"
27+
},
28+
{
29+
"introduced": "1.24.0"
30+
},
31+
{
32+
"fixed": "1.24.6"
33+
}
34+
]
35+
}
36+
],
37+
"ecosystem_specific": {
38+
"imports": [
39+
{
40+
"path": "os/exec",
41+
"symbols": [
42+
"LookPath"
43+
]
44+
}
45+
]
46+
}
47+
}
48+
],
49+
"references": [
50+
{
51+
"type": "FIX",
52+
"url": "https://go.dev/cl/691775"
53+
},
54+
{
55+
"type": "REPORT",
56+
"url": "https://go.dev/issue/74466"
57+
},
58+
{
59+
"type": "WEB",
60+
"url": "https://groups.google.com/g/golang-announce/c/x5MKroML2yM"
61+
}
62+
],
63+
"database_specific": {
64+
"url": "https://pkg.go.dev/vuln/GO-2025-3956",
65+
"review_status": "REVIEWED"
66+
}
67+
}

data/reports/GO-2025-3956.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
id: GO-2025-3956
2+
modules:
3+
- module: std
4+
versions:
5+
- fixed: 1.23.12
6+
- introduced: 1.24.0
7+
- fixed: 1.24.6
8+
vulnerable_at: 1.24.5
9+
packages:
10+
- package: os/exec
11+
symbols:
12+
- LookPath
13+
summary: Unexpected paths returned from LookPath in os/exec
14+
description: |-
15+
If the PATH environment variable contains paths which are executables
16+
(rather than just directories), passing certain strings to LookPath
17+
("", ".", and ".."), can result in the binaries listed in the PATH
18+
being unexpectedly returned.
19+
cves:
20+
- CVE-2025-47906
21+
references:
22+
- fix: https://go.dev/cl/691775
23+
- report: https://go.dev/issue/74466
24+
- web: https://groups.google.com/g/golang-announce/c/x5MKroML2yM
25+
cve_metadata:
26+
id: CVE-2025-47906
27+
cwe: 'CWE-115: Misinterpretation of Input'
28+
source:
29+
id: go-security-team
30+
created: 2025-09-16T14:01:40.614642-07:00
31+
review_status: REVIEWED

0 commit comments

Comments
 (0)