Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3389?format=api",
    "purl": "pkg:alpm/archlinux/ansible@2.2.1.0rc5-3",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "ansible",
    "version": "2.2.1.0rc5-3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6666?format=api",
            "vulnerability_id": "VCID-mj75-gu96-33ay",
            "summary": "arbitrary command execution",
            "references": [
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2017-0195.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-0195.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2017-0260.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2017-0260.html"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0448",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0448"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0515",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0515"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1685",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1685"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-9587"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9587",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-9587"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m956-frf4-m2wr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-m956-frf4-m2wr"
                },
                {
                    "reference_url": "https://github.com/ansible/ansible",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/ansible/ansible"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-39.yaml"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-77",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-77"
                },
                {
                    "reference_url": "https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://web.archive.org/web/20170115210655/http://www.securityfocus.com/bid/95352"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/41013",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/41013"
                },
                {
                    "reference_url": "https://www.exploit-db.com/exploits/41013/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.exploit-db.com/exploits/41013/"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95352",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/95352"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-137",
                    "reference_id": "AVG-137",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-137"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9587",
                    "reference_id": "CVE-2016-9587",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9587"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3389?format=api",
                    "purl": "pkg:alpm/archlinux/ansible@2.2.1.0rc5-3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/ansible@2.2.1.0rc5-3"
                }
            ],
            "aliases": [
                "CVE-2016-9587",
                "GHSA-m956-frf4-m2wr",
                "PYSEC-2018-39"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mj75-gu96-33ay"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/ansible@2.2.1.0rc5-3"
}