Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/12138?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/12138?format=api", "purl": "pkg:pypi/mercurial@4.8.1", "type": "pypi", "namespace": "", "name": "mercurial", "version": "4.8.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.9", "latest_non_vulnerable_version": "4.9", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7702?format=api", "vulnerability_id": "VCID-ygk8-66cv-3qfk", "summary": "A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-3902", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00541", "scoring_system": "epss", "scoring_elements": "0.67958", "published_at": "2026-05-30T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-3902" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902", "reference_id": "", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902" }, { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2019-188.yaml" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html" }, { "reference_url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html" }, { "reference_url": "https://usn.ubuntu.com/4086-1", "reference_id": "", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4086-1" }, { "reference_url": "https://usn.ubuntu.com/4086-1/", "reference_id": "", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/4086-1/" }, { "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3902", "reference_id": "CVE-2019-3902", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-3902" }, { "reference_url": "https://github.com/advisories/GHSA-mq66-vcfc-8246", "reference_id": "GHSA-mq66-vcfc-8246", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-mq66-vcfc-8246" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/12141?format=api", "purl": "pkg:pypi/mercurial@4.9", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mercurial@4.9" } ], "aliases": [ "CVE-2019-3902", "GHSA-mq66-vcfc-8246", "PYSEC-2019-188" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ygk8-66cv-3qfk" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mercurial@4.8.1" }