Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3311?format=api",
    "purl": "pkg:alpm/archlinux/openvpn@2.4.1-2",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "openvpn",
    "version": "2.4.1-2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.4.3-1",
    "latest_non_vulnerable_version": "2.4.3-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6567?format=api",
            "vulnerability_id": "VCID-6fw8-9qtq-k3bp",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7479",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7479"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-16",
                    "reference_id": "ASA-201705-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-16"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-271",
                    "reference_id": "AVG-271",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-271"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1873?format=api",
                    "purl": "pkg:alpm/archlinux/openvpn@2.4.2-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-25ne-926m-mue6"
                        },
                        {
                            "vulnerability": "VCID-fghb-t2gt-7bfe"
                        },
                        {
                            "vulnerability": "VCID-m6sk-4959-yud1"
                        },
                        {
                            "vulnerability": "VCID-zsjc-kbet-bya7"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openvpn@2.4.2-1"
                }
            ],
            "aliases": [
                "CVE-2017-7479"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6fw8-9qtq-k3bp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6568?format=api",
            "vulnerability_id": "VCID-9vfy-r6uk-r3ch",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7478",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7478"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-16",
                    "reference_id": "ASA-201705-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-16"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-271",
                    "reference_id": "AVG-271",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-271"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1873?format=api",
                    "purl": "pkg:alpm/archlinux/openvpn@2.4.2-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-25ne-926m-mue6"
                        },
                        {
                            "vulnerability": "VCID-fghb-t2gt-7bfe"
                        },
                        {
                            "vulnerability": "VCID-m6sk-4959-yud1"
                        },
                        {
                            "vulnerability": "VCID-zsjc-kbet-bya7"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openvpn@2.4.2-1"
                }
            ],
            "aliases": [
                "CVE-2017-7478"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9vfy-r6uk-r3ch"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/openvpn@2.4.1-2"
}