Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/443099?format=api",
    "purl": "pkg:apk/alpine/strongswan@5.6.3-r0?arch=s390x&distroversion=v3.14&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "strongswan",
    "version": "5.6.3-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.14",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.7.0-r0",
    "latest_non_vulnerable_version": "5.9.1-r3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101543?format=api",
            "vulnerability_id": "VCID-r2wu-d869-abaq",
            "summary": "strongSwan 5.6.0 and older allows Remote Denial of Service because of Missing Initialization of a Variable.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10811.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-10811.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-10811",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.13646",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94382",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.13646",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9439",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.13646",
                            "scoring_system": "epss",
                            "scoring_elements": "0.944",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.13646",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94392",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.13646",
                            "scoring_system": "epss",
                            "scoring_elements": "0.94395",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-10811"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10811",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10811"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5388",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5388"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1585966",
                    "reference_id": "1585966",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1585966"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201811-16",
                    "reference_id": "GLSA-201811-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201811-16"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/443099?format=api",
                    "purl": "pkg:apk/alpine/strongswan@5.6.3-r0?arch=s390x&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/strongswan@5.6.3-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-10811"
            ],
            "risk_score": 2.6,
            "exploitability": "0.5",
            "weighted_severity": "5.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r2wu-d869-abaq"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101547?format=api",
            "vulnerability_id": "VCID-vhnc-dzqq-kuan",
            "summary": "In stroke_socket.c in strongSwan before 5.6.3, a missing packet length check could allow a buffer underflow, which may lead to resource exhaustion and denial of service while reading from the socket.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5388.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-5388.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5388",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03999",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88634",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.03999",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88668",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.03999",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88653",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.03999",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88651",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.03999",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88652",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-5388"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10811",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10811"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5388",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5388"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1581867",
                    "reference_id": "1581867",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1581867"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201805-26",
                    "reference_id": "ASA-201805-26",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201805-26"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-710",
                    "reference_id": "AVG-710",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-710"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201811-16",
                    "reference_id": "GLSA-201811-16",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201811-16"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/443099?format=api",
                    "purl": "pkg:apk/alpine/strongswan@5.6.3-r0?arch=s390x&distroversion=v3.14&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/strongswan@5.6.3-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-5388"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vhnc-dzqq-kuan"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/strongswan@5.6.3-r0%3Farch=s390x&distroversion=v3.14&reponame=main"
}