Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/422513?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/422513?format=api", "purl": "pkg:apk/alpine/prometheus@2.27.1-r0?arch=x86_64&distroversion=v3.22&reponame=community", "type": "apk", "namespace": "alpine", "name": "prometheus", "version": "2.27.1-r0", "qualifiers": { "arch": "x86_64", "distroversion": "v3.22", "reponame": "community" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "2.40.4-r1", "latest_non_vulnerable_version": "2.40.4-r1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/98685?format=api", "vulnerability_id": "VCID-c76y-xkzm-gugv", "summary": "Prometheus is an open-source monitoring system and time series database. In 2.23.0, Prometheus changed its default UI to the New ui. To ensure a seamless transition, the URL's prefixed by /new redirect to /. Due to a bug in the code, it is possible for an attacker to craft an URL that can redirect to any other URL, in the /new endpoint. If a user visits a prometheus server with a specially crafted address, they can be redirected to an arbitrary URL. The issue was patched in the 2.26.1 and 2.27.1 releases. In 2.28.0, the /new endpoint will be removed completely. The workaround is to disable access to /new via a reverse proxy in front of Prometheus.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-29622.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "6.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-29622.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-29622", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.87475", "scoring_system": "epss", "scoring_elements": "0.99476", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.87475", "scoring_system": "epss", "scoring_elements": "0.99477", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.87475", "scoring_system": "epss", "scoring_elements": "0.99478", "published_at": "2026-06-09T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-29622" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1962718", "reference_id": "1962718", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1962718" }, { "reference_url": "https://security.archlinux.org/ASA-202105-25", "reference_id": "ASA-202105-25", "reference_type": "", "scores": [], "url": "https://security.archlinux.org/ASA-202105-25" }, { "reference_url": "https://security.archlinux.org/AVG-1971", "reference_id": "AVG-1971", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-1971" }, { "reference_url": "https://access.redhat.com/errata/RHSA-2021:2438", "reference_id": "RHSA-2021:2438", "reference_type": "", "scores": [], "url": "https://access.redhat.com/errata/RHSA-2021:2438" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/422513?format=api", "purl": "pkg:apk/alpine/prometheus@2.27.1-r0?arch=x86_64&distroversion=v3.22&reponame=community", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/prometheus@2.27.1-r0%3Farch=x86_64&distroversion=v3.22&reponame=community" } ], "aliases": [ "CVE-2021-29622" ], "risk_score": 10.0, "exploitability": "2.0", "weighted_severity": "6.2", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c76y-xkzm-gugv" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/prometheus@2.27.1-r0%3Farch=x86_64&distroversion=v3.22&reponame=community" }