Lookup for vulnerable packages by Package URL.

GET /api/packages/5041?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/5041?format=api",
    "purl": "pkg:deb/debian/mercurial@4.0-1%2Bdeb9u1",
    "type": "deb",
    "namespace": "debian",
    "name": "mercurial",
    "version": "4.0-1+deb9u1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.8.2-1+deb10u1",
    "latest_non_vulnerable_version": "4.8.2-1+deb10u1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4406?format=api",
            "vulnerability_id": "VCID-71pc-96mg-ufbt",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2489",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2489"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201709-18",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201709-18"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29"
                },
                {
                    "reference_url": "http://www.debian.org/security/2017/dsa-3963",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2017/dsa-3963"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201708-7",
                    "reference_id": "ASA-201708-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201708-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-378",
                    "reference_id": "AVG-378",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-378"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000115",
                    "reference_id": "CVE-2017-1000115",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000115"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hvr9-wr9p-grgr",
                    "reference_id": "GHSA-hvr9-wr9p-grgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hvr9-wr9p-grgr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5891?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.8.2-1%2Bdeb10u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.8.2-1%252Bdeb10u1"
                }
            ],
            "aliases": [
                "CVE-2017-1000115",
                "GHSA-hvr9-wr9p-grgr",
                "PYSEC-2017-88"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-71pc-96mg-ufbt"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4405?format=api",
            "vulnerability_id": "VCID-utkv-unr7-c3dq",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2489",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2489"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201709-18",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201709-18"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://wiki.mercurial-scm.org/WhatsNew/Archive",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wiki.mercurial-scm.org/WhatsNew/Archive"
                },
                {
                    "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29"
                },
                {
                    "reference_url": "http://www.debian.org/security/2017/dsa-3963",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2017/dsa-3963"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201708-7",
                    "reference_id": "ASA-201708-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201708-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-378",
                    "reference_id": "AVG-378",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-378"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000116",
                    "reference_id": "CVE-2017-1000116",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3qmg-c9vc-r47j",
                    "reference_id": "GHSA-3qmg-c9vc-r47j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3qmg-c9vc-r47j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5891?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.8.2-1%2Bdeb10u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.8.2-1%252Bdeb10u1"
                }
            ],
            "aliases": [
                "CVE-2017-1000116",
                "GHSA-3qmg-c9vc-r47j",
                "PYSEC-2017-89"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-utkv-unr7-c3dq"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4406?format=api",
            "vulnerability_id": "VCID-71pc-96mg-ufbt",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2489",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2489"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-88.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201709-18",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201709-18"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29"
                },
                {
                    "reference_url": "http://www.debian.org/security/2017/dsa-3963",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2017/dsa-3963"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201708-7",
                    "reference_id": "ASA-201708-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201708-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-378",
                    "reference_id": "AVG-378",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-378"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000115",
                    "reference_id": "CVE-2017-1000115",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000115"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hvr9-wr9p-grgr",
                    "reference_id": "GHSA-hvr9-wr9p-grgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hvr9-wr9p-grgr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4233?format=api",
                    "purl": "pkg:deb/debian/mercurial@3.1.2-2%2Bdeb8u4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-71pc-96mg-ufbt"
                        },
                        {
                            "vulnerability": "VCID-utkv-unr7-c3dq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@3.1.2-2%252Bdeb8u4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5041?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.0-1%2Bdeb9u1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-71pc-96mg-ufbt"
                        },
                        {
                            "vulnerability": "VCID-utkv-unr7-c3dq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.0-1%252Bdeb9u1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5891?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.8.2-1%2Bdeb10u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.8.2-1%252Bdeb10u1"
                }
            ],
            "aliases": [
                "CVE-2017-1000115",
                "GHSA-hvr9-wr9p-grgr",
                "PYSEC-2017-88"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-71pc-96mg-ufbt"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4405?format=api",
            "vulnerability_id": "VCID-utkv-unr7-c3dq",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2489",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2489"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000115"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2017-89.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201709-18",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201709-18"
                },
                {
                    "reference_url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20200227155758/http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://wiki.mercurial-scm.org/WhatsNew/Archive",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://wiki.mercurial-scm.org/WhatsNew/Archive"
                },
                {
                    "reference_url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29"
                },
                {
                    "reference_url": "http://www.debian.org/security/2017/dsa-3963",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.debian.org/security/2017/dsa-3963"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/100290",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/100290"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201708-7",
                    "reference_id": "ASA-201708-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201708-7"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-378",
                    "reference_id": "AVG-378",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-378"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000116",
                    "reference_id": "CVE-2017-1000116",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000116"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-3qmg-c9vc-r47j",
                    "reference_id": "GHSA-3qmg-c9vc-r47j",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-3qmg-c9vc-r47j"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/4233?format=api",
                    "purl": "pkg:deb/debian/mercurial@3.1.2-2%2Bdeb8u4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-71pc-96mg-ufbt"
                        },
                        {
                            "vulnerability": "VCID-utkv-unr7-c3dq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@3.1.2-2%252Bdeb8u4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5041?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.0-1%2Bdeb9u1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-71pc-96mg-ufbt"
                        },
                        {
                            "vulnerability": "VCID-utkv-unr7-c3dq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.0-1%252Bdeb9u1"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5891?format=api",
                    "purl": "pkg:deb/debian/mercurial@4.8.2-1%2Bdeb10u1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.8.2-1%252Bdeb10u1"
                }
            ],
            "aliases": [
                "CVE-2017-1000116",
                "GHSA-3qmg-c9vc-r47j",
                "PYSEC-2017-89"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-utkv-unr7-c3dq"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mercurial@4.0-1%252Bdeb9u1"
}