CVE-2019-3826: A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1.
Medium CVSS 6.1
- CVE id
- CVE-2019-3826
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Prometheus Runtimes and servers |
< 2.7.1 | 2.7.1 |
How to fix it
Upgrade Prometheus to 2.7.1 or later.
prometheus --version
- Upgrade Prometheus (the prom/prometheus image tag) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
A stored, DOM based, cross-site scripting (XSS) flaw was found in Prometheus before version 2.7.1. An attacker could exploit this by convincing an authenticated user to visit a crafted URL on a Prometheus server, allowing for the execution and persistent storage of arbitrary scripts.
References
- CVE-2019-3826 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-3826
- Web: https://access.redhat.com/errata/RHBA-2019:0327
- Web: https://advisory.checkmarx.net/advisory/CX-2019-4297
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3826
- Web: https://github.com/prometheus/prometheus/commit/62e591f9
- Web: https://github.com/prometheus/prometheus/pull/5163
- Web: https://lists.apache.org/thread.html/r48d5019bd42e0770f7e5351e420a63a41ff1f16924942442c6aff6a8%40%3Ccommits.zookeeper.apache.org%3E
- Web: https://lists.apache.org/thread.html/r8e3f7da12bf5750b0a02e69a78a61073a2ac950eed7451ce70a65177%40%3Ccommits.zookeeper.apache.org%3E
- Web: https://lists.apache.org/thread.html/rdf2a0d94c3b5b523aeff7741ae71347415276062811b687f30ea6573%40%3Ccommits.zookeeper.apache.org%3E
- Web: https://access.redhat.com/errata/RHBA-2019:0327
- Web: https://advisory.checkmarx.net/advisory/CX-2019-4297
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3826
- Web: https://github.com/prometheus/prometheus/commit/62e591f9
- Web: https://github.com/prometheus/prometheus/pull/5163
- Web: https://lists.apache.org/thread.html/r48d5019bd42e0770f7e5351e420a63a41ff1f16924942442c6aff6a8%40%3Ccommits.zookeeper.apache.org%3E
- Web: https://lists.apache.org/thread.html/r8e3f7da12bf5750b0a02e69a78a61073a2ac950eed7451ce70a65177%40%3Ccommits.zookeeper.apache.org%3E
- Web: https://lists.apache.org/thread.html/rdf2a0d94c3b5b523aeff7741ae71347415276062811b687f30ea6573%40%3Ccommits.zookeeper.apache.org%3E
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.