Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/13362?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/13362?format=api", "purl": "pkg:pypi/mercurial@4.8", "type": "pypi", "namespace": "", "name": "mercurial", "version": "4.8", "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/35353?format=api", "vulnerability_id": "VCID-tsye-4m91-6ba1", "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://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/13366?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-tsye-4m91-6ba1" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mercurial@4.8" }