Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/12063?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/12063?format=api", "purl": "pkg:pypi/mercurial@4.6.2", "type": "pypi", "namespace": "", "name": "mercurial", "version": "4.6.2", "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/35267?format=api", "vulnerability_id": "VCID-b7rg-cd13-aygs", "summary": "cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.", "references": [ { "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-91.yaml", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2018-91.yaml" }, { "reference_url": "https://www.mercurial-scm.org/repo/hg/rev/5405cb1a7901", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.mercurial-scm.org/repo/hg/rev/5405cb1a7901" }, { "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.7.2_.282018-10-01.29", "reference_id": "", "reference_type": "", "scores": [], "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.7.2_.282018-10-01.29" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17983", "reference_id": "CVE-2018-17983", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-17983" }, { "reference_url": "https://github.com/advisories/GHSA-p575-cf9h-wv42", "reference_id": "GHSA-p575-cf9h-wv42", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-p575-cf9h-wv42" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/12067?format=api", "purl": "pkg:pypi/mercurial@4.7.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-tsye-4m91-6ba1" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mercurial@4.7.2" } ], "aliases": [ "CVE-2018-17983", "GHSA-p575-cf9h-wv42", "PYSEC-2018-91" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b7rg-cd13-aygs" }, { "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.6.2" }