Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3185?format=api",
    "purl": "pkg:alpm/archlinux/perl-xml-libxml@2.0129-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "perl-xml-libxml",
    "version": "2.0129-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.0130-1",
    "latest_non_vulnerable_version": "2.0130-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6399?format=api",
            "vulnerability_id": "VCID-brs8-trgj-jbc5",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10672",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-10672"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201801-15",
                    "reference_id": "ASA-201801-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201801-15"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-501",
                    "reference_id": "AVG-501",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-501"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3186?format=api",
                    "purl": "pkg:alpm/archlinux/perl-xml-libxml@2.0130-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/perl-xml-libxml@2.0130-1"
                }
            ],
            "aliases": [
                "CVE-2017-10672"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-brs8-trgj-jbc5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/perl-xml-libxml@2.0129-1"
}