GO-2022-1130

Source
https://pkg.go.dev/vuln/GO-2022-1130
Import Source
https://vuln.go.dev/ID/GO-2022-1130.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-1130
Aliases
Published
2022-11-29T16:33:47Z
Modified
2024-05-20T16:03:47Z
Summary
Authentication bypass in github.com/prometheus/exporter-toolkit
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.

References
Credits
    • Lei Wan

Affected packages

Go / github.com/prometheus/exporter-toolkit

Package

Name
github.com/prometheus/exporter-toolkit
View open source insights on deps.dev
Purl
pkg:golang/github.com/prometheus/exporter-toolkit

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.2
Introduced
0.8.0
Fixed
0.8.2

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/prometheus/exporter-toolkit/web",
            "symbols": [
                "Listen",
                "ListenAndServe",
                "Serve",
                "ServeMultiple",
                "webHandler.ServeHTTP"
            ]
        }
    ]
}