Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3470?format=api",
    "purl": "pkg:alpm/archlinux/irssi@0.8.19-2",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "irssi",
    "version": "0.8.19-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.8.21-1",
    "latest_non_vulnerable_version": "1.2.2-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6787?format=api",
            "vulnerability_id": "VCID-6hyj-zqsq-23ej",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7044",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7044"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7045"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-28",
                    "reference_id": "AVG-28",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-28"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2016-7044"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6hyj-zqsq-23ej"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6788?format=api",
            "vulnerability_id": "VCID-dm7g-r89w-zqaw",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7044",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7044"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7045"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201609-20",
                    "reference_id": "ASA-201609-20",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201609-20"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-27",
                    "reference_id": "AVG-27",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-27"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3403?format=api",
                    "purl": "pkg:alpm/archlinux/irssi@0.8.20-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-b4jv-tve2-3yar"
                        },
                        {
                            "vulnerability": "VCID-mz6d-73hw-p3g8"
                        },
                        {
                            "vulnerability": "VCID-n5a6-9dnq-mucd"
                        },
                        {
                            "vulnerability": "VCID-rfd7-a9wc-xuav"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/irssi@0.8.20-1"
                }
            ],
            "aliases": [
                "CVE-2016-7045"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dm7g-r89w-zqaw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/irssi@0.8.19-2"
}