diff --git a/data/osv/GO-2022-1130.json b/data/osv/GO-2022-1130.json new file mode 100644 index 00000000..6bec6817 --- /dev/null +++ b/data/osv/GO-2022-1130.json @@ -0,0 +1,62 @@ +{ + "id": "GO-2022-1130", + "published": "0001-01-01T00:00:00Z", + "modified": "0001-01-01T00:00:00Z", + "aliases": [ + "CVE-2022-46146" + ], + "details": "If an attacker has access to a Prometheus web.yml file and users' bcrypted passwords, it would be possible to bypass security via the built-in authentication cache.", + "affected": [ + { + "package": { + "name": "github.com/prometheus/exporter-toolkit", + "ecosystem": "Go" + }, + "ranges": [ + { + "type": "SEMVER", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.7.2" + }, + { + "introduced": "0.8.0" + }, + { + "fixed": "0.8.2" + } + ] + } + ], + "database_specific": { + "url": "https://pkg.go.dev/vuln/GO-2022-1130" + }, + "ecosystem_specific": { + "imports": [ + { + "path": "github.com/prometheus/exporter-toolkit/web" + } + ] + } + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p" + }, + { + "type": "FIX", + "url": "https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5" + } + ], + "credits": [ + { + "name": "Lei Wan" + } + ], + "schema_version": "1.3.1" +} \ No newline at end of file diff --git a/data/reports/GO-2022-1130.yaml b/data/reports/GO-2022-1130.yaml new file mode 100644 index 00000000..1e44bd61 --- /dev/null +++ b/data/reports/GO-2022-1130.yaml @@ -0,0 +1,18 @@ +modules: + - module: github.com/prometheus/exporter-toolkit + versions: + - fixed: 0.7.2 + - introduced: 0.8.0 + fixed: 0.8.2 + packages: + - package: github.com/prometheus/exporter-toolkit/web +description: | + If an attacker has access to a Prometheus web.yml file and users' bcrypted + passwords, it would be possible to bypass security via the built-in + authentication cache. +cves: + - CVE-2022-46146 +credit: Lei Wan +references: + - advisory: https://github.com/prometheus/exporter-toolkit/security/advisories/GHSA-7rg2-cxvp-9p7p + - fix: https://github.com/prometheus/exporter-toolkit/commit/5b1eab34484ddd353986bce736cd119d863e4ff5