Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/2639?format=api",
    "purl": "pkg:alpm/archlinux/samba@4.12.6-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "samba",
    "version": "4.12.6-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.15.2-1",
    "latest_non_vulnerable_version": "4.17.5-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5845?format=api",
            "vulnerability_id": "VCID-8ztz-2n8a-gqbm",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1202",
                    "reference_id": "AVG-1202",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1202"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2639?format=api",
                    "purl": "pkg:alpm/archlinux/samba@4.12.6-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/samba@4.12.6-1"
                }
            ],
            "aliases": [
                "CVE-2020-10730"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8ztz-2n8a-gqbm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5843?format=api",
            "vulnerability_id": "VCID-m8f3-3jf6-2bdy",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10760",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10760"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1202",
                    "reference_id": "AVG-1202",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1202"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2639?format=api",
                    "purl": "pkg:alpm/archlinux/samba@4.12.6-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/samba@4.12.6-1"
                }
            ],
            "aliases": [
                "CVE-2020-10760"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m8f3-3jf6-2bdy"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5842?format=api",
            "vulnerability_id": "VCID-mxk6-6rwy-hfa3",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14303",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14303"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1202",
                    "reference_id": "AVG-1202",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1202"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2639?format=api",
                    "purl": "pkg:alpm/archlinux/samba@4.12.6-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/samba@4.12.6-1"
                }
            ],
            "aliases": [
                "CVE-2020-14303"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mxk6-6rwy-hfa3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5844?format=api",
            "vulnerability_id": "VCID-qn5w-t24w-xye5",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10745",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10745"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1202",
                    "reference_id": "AVG-1202",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1202"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/2639?format=api",
                    "purl": "pkg:alpm/archlinux/samba@4.12.6-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/samba@4.12.6-1"
                }
            ],
            "aliases": [
                "CVE-2020-10745"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qn5w-t24w-xye5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/samba@4.12.6-1"
}