Skip to content

Commit 7056d3e

Browse files
committed
data/reports: review GO-2024-3140
- data/reports/GO-2024-3140.yaml Fixes #3140 Change-Id: Id1a59bbd480201ae29e3a1882dac2262922316d4 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/635218 Reviewed-by: Zvonimir Pavlinovic <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 68517aa commit 7056d3e

File tree

2 files changed

+62
-11
lines changed

2 files changed

+62
-11
lines changed

data/osv/GO-2024-3140.json

+28-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"GHSA-xxxw-3j6h-q7h6"
99
],
1010
"summary": "Grafana plugin SDK Information Leakage in github.com/grafana/grafana-plugin-sdk-go",
11-
"details": "Grafana plugin SDK Information Leakage in github.com/grafana/grafana-plugin-sdk-go",
11+
"details": "The grafana plugin SDK bundles build metadata into the binaries it compiles; this metadata includes the repository URI for the plugin being built, as retrieved by running \"git remote get-url origin\".\n\nIf credentials are included in the repository URI (for instance, to allow for fetching of private dependencies), the final binary will contain the full URI, including said credentials.",
1212
"affected": [
1313
{
1414
"package": {
@@ -28,18 +28,39 @@
2828
]
2929
}
3030
],
31-
"ecosystem_specific": {}
31+
"ecosystem_specific": {
32+
"imports": [
33+
{
34+
"path": "github.com/grafana/grafana-plugin-sdk-go/build",
35+
"symbols": [
36+
"Build.Backend",
37+
"Build.Darwin",
38+
"Build.DarwinARM64",
39+
"Build.Debug",
40+
"Build.DebugDarwinAMD64",
41+
"Build.DebugDarwinARM64",
42+
"Build.DebugLinuxAMD64",
43+
"Build.DebugLinuxARM64",
44+
"Build.DebugWindowsAMD64",
45+
"Build.Linux",
46+
"Build.LinuxARM",
47+
"Build.LinuxARM64",
48+
"Build.Windows",
49+
"Info.appendFlags",
50+
"getBuildBackendCmdInfo",
51+
"getBuildInfoFromEnvironment",
52+
"getEnvironment"
53+
]
54+
}
55+
]
56+
}
3257
}
3358
],
3459
"references": [
3560
{
3661
"type": "ADVISORY",
3762
"url": "https://github.com/advisories/GHSA-xxxw-3j6h-q7h6"
3863
},
39-
{
40-
"type": "ADVISORY",
41-
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-8986"
42-
},
4364
{
4465
"type": "FIX",
4566
"url": "https://github.com/grafana/grafana-plugin-sdk-go/commit/aaa26d1bebaaf6160c37d3f1226a750eab70ca41"
@@ -51,6 +72,6 @@
5172
],
5273
"database_specific": {
5374
"url": "https://pkg.go.dev/vuln/GO-2024-3140",
54-
"review_status": "UNREVIEWED"
75+
"review_status": "REVIEWED"
5576
}
5677
}

data/reports/GO-2024-3140.yaml

+34-4
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,47 @@ modules:
44
versions:
55
- fixed: 0.250.0
66
vulnerable_at: 0.249.0
7-
summary: Grafana plugin SDK Information Leakage in github.com/grafana/grafana-plugin-sdk-go
7+
packages:
8+
- package: github.com/grafana/grafana-plugin-sdk-go/build
9+
symbols:
10+
- Info.appendFlags
11+
- getEnvironment
12+
- getBuildInfoFromEnvironment
13+
- getBuildBackendCmdInfo
14+
derived_symbols:
15+
- Build.Backend
16+
- Build.Darwin
17+
- Build.DarwinARM64
18+
- Build.Debug
19+
- Build.DebugDarwinAMD64
20+
- Build.DebugDarwinARM64
21+
- Build.DebugLinuxAMD64
22+
- Build.DebugLinuxARM64
23+
- Build.DebugWindowsAMD64
24+
- Build.Linux
25+
- Build.LinuxARM
26+
- Build.LinuxARM64
27+
- Build.Windows
28+
summary: |-
29+
Grafana plugin SDK Information Leakage in
30+
github.com/grafana/grafana-plugin-sdk-go
31+
description: |-
32+
The grafana plugin SDK bundles build metadata into the binaries it compiles;
33+
this metadata includes the repository URI for the plugin being built, as
34+
retrieved by running "git remote get-url origin".
35+
36+
If credentials are included in the repository URI (for instance, to allow for
37+
fetching of private dependencies), the final binary will contain the full URI,
38+
including said credentials.
839
cves:
940
- CVE-2024-8986
1041
ghsas:
1142
- GHSA-xxxw-3j6h-q7h6
1243
references:
1344
- advisory: https://github.com/advisories/GHSA-xxxw-3j6h-q7h6
14-
- advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-8986
1545
- fix: https://github.com/grafana/grafana-plugin-sdk-go/commit/aaa26d1bebaaf6160c37d3f1226a750eab70ca41
1646
- web: https://grafana.com/security/security-advisories/cve-2024-8986
1747
source:
1848
id: GHSA-xxxw-3j6h-q7h6
19-
created: 2024-11-12T11:30:05.469931-05:00
20-
review_status: NEEDS_REVIEW
49+
created: 2024-12-11T14:44:16.467308-05:00
50+
review_status: REVIEWED

0 commit comments

Comments
 (0)