Skip to content

Commit 3c9384c

Browse files
tatianabTatiana Bradley
authored andcommitted
data/reports: add symbols to GO-2022-1130.yaml
Aliases: CVE-2022-46146, GHSA-7rg2-cxvp-9p7p Updates #1130 Change-Id: I905dd3fb942d474b63098ae1aac6528e53f533f6 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/459755 TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Tatiana Bradley <[email protected]> Reviewed-by: Julie Qiu <[email protected]> Run-TryBot: Tatiana Bradley <[email protected]>
1 parent b962be8 commit 3c9384c

File tree

2 files changed

+29
-14
lines changed

2 files changed

+29
-14
lines changed

data/osv/GO-2022-1130.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"schema_version": "1.3.1",
23
"id": "GO-2022-1130",
34
"published": "0001-01-01T00:00:00Z",
45
"modified": "0001-01-01T00:00:00Z",
@@ -38,7 +39,14 @@
3839
"ecosystem_specific": {
3940
"imports": [
4041
{
41-
"path": "github.com/prometheus/exporter-toolkit/web"
42+
"path": "github.com/prometheus/exporter-toolkit/web",
43+
"symbols": [
44+
"Listen",
45+
"ListenAndServe",
46+
"Serve",
47+
"ServeMultiple",
48+
"webHandler.ServeHTTP"
49+
]
4250
}
4351
]
4452
}
@@ -58,6 +66,5 @@
5866
{
5967
"name": "Lei Wan"
6068
}
61-
],
62-
"schema_version": "1.3.1"
69+
]
6370
}

data/reports/GO-2022-1130.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,28 @@
11
modules:
2-
- module: github.com/prometheus/exporter-toolkit
3-
versions:
4-
- fixed: 0.7.2
5-
- introduced: 0.8.0
6-
fixed: 0.8.2
7-
packages:
8-
- package: github.com/prometheus/exporter-toolkit/web
2+
- module: github.com/prometheus/exporter-toolkit
3+
versions:
4+
- fixed: 0.7.2
5+
- introduced: 0.8.0
6+
fixed: 0.8.2
7+
vulnerable_at: 0.8.1
8+
packages:
9+
- package: github.com/prometheus/exporter-toolkit/web
10+
symbols:
11+
- webHandler.ServeHTTP
12+
derived_symbols:
13+
- Listen
14+
- ListenAndServe
15+
- Serve
16+
- ServeMultiple
917
description: |
1018
If an attacker has access to a Prometheus web.yml file and users' bcrypted
1119
passwords, it would be possible to bypass security via the built-in
1220
authentication cache.
1321
cves:
14-
- CVE-2022-46146
22+
- CVE-2022-46146
1523
ghsas:
16-
- GHSA-7rg2-cxvp-9p7p
24+
- GHSA-7rg2-cxvp-9p7p
1725
credit: Lei Wan
1826
references:
19-
- advisory: https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
20-
- fix: https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5
27+
- advisory: https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p
28+
- fix: https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5

0 commit comments

Comments
 (0)