Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/5361?format=api",
    "purl": "pkg:deb/debian/unbound@1.6.0-3%2Bdeb9u2",
    "type": "deb",
    "namespace": "debian",
    "name": "unbound",
    "version": "1.6.0-3+deb9u2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.13.1-1+deb11u2",
    "latest_non_vulnerable_version": "1.13.1-1+deb11u2",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5894?format=api",
            "vulnerability_id": "VCID-38yn-tsfe-ckdz",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12662",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12662"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12663",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12663"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202005-14",
                    "reference_id": "ASA-202005-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202005-14"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1164",
                    "reference_id": "AVG-1164",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1164"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5362?format=api",
                    "purl": "pkg:deb/debian/unbound@1.9.0-2%2Bdeb10u2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-38yn-tsfe-ckdz"
                        },
                        {
                            "vulnerability": "VCID-b2ak-xh5k-2bh2"
                        },
                        {
                            "vulnerability": "VCID-bvp4-arfj-4bbu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.9.0-2%252Bdeb10u2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5795?format=api",
                    "purl": "pkg:deb/debian/unbound@1.13.1-1%2Bdeb11u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.13.1-1%252Bdeb11u2"
                }
            ],
            "aliases": [
                "CVE-2020-12662"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-38yn-tsfe-ckdz"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5893?format=api",
            "vulnerability_id": "VCID-b2ak-xh5k-2bh2",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12662",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12662"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12663",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12663"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-202005-14",
                    "reference_id": "ASA-202005-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-202005-14"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1164",
                    "reference_id": "AVG-1164",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1164"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5362?format=api",
                    "purl": "pkg:deb/debian/unbound@1.9.0-2%2Bdeb10u2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-38yn-tsfe-ckdz"
                        },
                        {
                            "vulnerability": "VCID-b2ak-xh5k-2bh2"
                        },
                        {
                            "vulnerability": "VCID-bvp4-arfj-4bbu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.9.0-2%252Bdeb10u2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5795?format=api",
                    "purl": "pkg:deb/debian/unbound@1.13.1-1%2Bdeb11u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.13.1-1%252Bdeb11u2"
                }
            ],
            "aliases": [
                "CVE-2020-12663"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b2ak-xh5k-2bh2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6045?format=api",
            "vulnerability_id": "VCID-bvp4-arfj-4bbu",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16866",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16866"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201910-6",
                    "reference_id": "ASA-201910-6",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201910-6"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1042",
                    "reference_id": "AVG-1042",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1042"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5362?format=api",
                    "purl": "pkg:deb/debian/unbound@1.9.0-2%2Bdeb10u2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-38yn-tsfe-ckdz"
                        },
                        {
                            "vulnerability": "VCID-b2ak-xh5k-2bh2"
                        },
                        {
                            "vulnerability": "VCID-bvp4-arfj-4bbu"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.9.0-2%252Bdeb10u2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/5795?format=api",
                    "purl": "pkg:deb/debian/unbound@1.13.1-1%2Bdeb11u2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.13.1-1%252Bdeb11u2"
                }
            ],
            "aliases": [
                "CVE-2019-16866"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bvp4-arfj-4bbu"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/unbound@1.6.0-3%252Bdeb9u2"
}