Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3265?format=api",
    "purl": "pkg:alpm/archlinux/bind@9.11.1.P2-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "bind",
    "version": "9.11.1.P2-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.11.2.P1-1",
    "latest_non_vulnerable_version": "9.20.9-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6502?format=api",
            "vulnerability_id": "VCID-a1gf-hhd8-47e3",
            "summary": "access restriction bypass",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3142",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3142"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3143",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3143"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-3",
                    "reference_id": "ASA-201707-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-3"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-335",
                    "reference_id": "AVG-335",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-335"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3265?format=api",
                    "purl": "pkg:alpm/archlinux/bind@9.11.1.P2-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bind@9.11.1.P2-1"
                }
            ],
            "aliases": [
                "CVE-2017-3142"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a1gf-hhd8-47e3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6501?format=api",
            "vulnerability_id": "VCID-dwdx-5e6p-m7ec",
            "summary": "access restriction bypass",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3142",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3142"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3143",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3143"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-3",
                    "reference_id": "ASA-201707-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-3"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-335",
                    "reference_id": "AVG-335",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-335"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3265?format=api",
                    "purl": "pkg:alpm/archlinux/bind@9.11.1.P2-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bind@9.11.1.P2-1"
                }
            ],
            "aliases": [
                "CVE-2017-3143"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dwdx-5e6p-m7ec"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/bind@9.11.1.P2-1"
}