Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/457234?format=api",
    "purl": "pkg:apk/alpine/libreswan@3.32-r0?arch=armhf&distroversion=v3.20&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "libreswan",
    "version": "3.32-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.20",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.6-r0",
    "latest_non_vulnerable_version": "4.15-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/77045?format=api",
            "vulnerability_id": "VCID-nen3-uthd-57d4",
            "summary": "An out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an unauthenticated attacker could use this flaw to crash libreswan by sending specially-crafted IKEv1 Informational Exchange packets. The daemon respawns after the crash.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1763.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-1763.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1763",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90557",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.05681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90571",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.05681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90569",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.05681",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90568",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-1763"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1763",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1763"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1814541",
                    "reference_id": "1814541",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1814541"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960458",
                    "reference_id": "960458",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960458"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202007-21",
                    "reference_id": "GLSA-202007-21",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202007-21"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2069",
                    "reference_id": "RHSA-2020:2069",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2069"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2070",
                    "reference_id": "RHSA-2020:2070",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2070"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:2071",
                    "reference_id": "RHSA-2020:2071",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:2071"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/457234?format=api",
                    "purl": "pkg:apk/alpine/libreswan@3.32-r0?arch=armhf&distroversion=v3.20&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libreswan@3.32-r0%3Farch=armhf&distroversion=v3.20&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-1763"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nen3-uthd-57d4"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/libreswan@3.32-r0%3Farch=armhf&distroversion=v3.20&reponame=community"
}