Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2119?format=api",
    "purl": "pkg:alpm/archlinux/wpa_supplicant@2:2.9-8",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "wpa_supplicant",
    "version": "2:2.9-8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2:2.10-1",
    "latest_non_vulnerable_version": "2:2.10-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5003?format=api",
            "vulnerability_id": "VCID-5uqd-9srx-buhb",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12695",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12695"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0326",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0326"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27803",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27803"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1626",
                    "reference_id": "AVG-1626",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1626"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2120?format=api",
                    "purl": "pkg:alpm/archlinux/wpa_supplicant@2:2.10-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wpa_supplicant@2:2.10-1"
                }
            ],
            "aliases": [
                "CVE-2021-27803"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5uqd-9srx-buhb"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5002?format=api",
            "vulnerability_id": "VCID-w6s2-e8jh-kbbg",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-1626",
                    "reference_id": "AVG-1626",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1626"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2120?format=api",
                    "purl": "pkg:alpm/archlinux/wpa_supplicant@2:2.10-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wpa_supplicant@2:2.10-1"
                }
            ],
            "aliases": [
                "CVE-2021-30004"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w6s2-e8jh-kbbg"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5004?format=api",
            "vulnerability_id": "VCID-y15q-jwfb-xfa6",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://security.archlinux.org/AVG-1626",
                    "reference_id": "AVG-1626",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1626"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2120?format=api",
                    "purl": "pkg:alpm/archlinux/wpa_supplicant@2:2.10-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wpa_supplicant@2:2.10-1"
                }
            ],
            "aliases": [
                "CVE-2021-0535"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y15q-jwfb-xfa6"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5690?format=api",
            "vulnerability_id": "VCID-c6rb-kwrq-uubn",
            "summary": "arbitrary code execution",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12695",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12695"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0326",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0326"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27803",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27803"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202102-25",
                    "reference_id": "ASA-202102-25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202102-25"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1530",
                    "reference_id": "AVG-1530",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1530"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2119?format=api",
                    "purl": "pkg:alpm/archlinux/wpa_supplicant@2:2.9-8",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-5uqd-9srx-buhb"
                        },
                        {
                            "vulnerability": "VCID-w6s2-e8jh-kbbg"
                        },
                        {
                            "vulnerability": "VCID-y15q-jwfb-xfa6"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wpa_supplicant@2:2.9-8"
                }
            ],
            "aliases": [
                "CVE-2021-0326"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c6rb-kwrq-uubn"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/wpa_supplicant@2:2.9-8"
}