Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/990002?format=api",
    "purl": "pkg:apk/alpine/php5@5.6.34-r0?arch=x86_64&distroversion=v3.5&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "php5",
    "version": "5.6.34-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.5",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.6.36-r0",
    "latest_non_vulnerable_version": "5.6.40-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/73189?format=api",
            "vulnerability_id": "VCID-nv53-k7pk-yqa7",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-7584.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-7584.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7584",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99249",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99251",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99253",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99257",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99258",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99259",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9926",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99261",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99264",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.83066",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99265",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7584"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10545",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10545"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10546",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10546"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10547",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10547"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10548",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10548"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10549",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-10549"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7584",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7584"
                },
                {
                    "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:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1551039",
                    "reference_id": "1551039",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1551039"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/dos/44846.txt",
                    "reference_id": "CVE-2018-7584",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/php/dos/44846.txt"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:2519",
                    "reference_id": "RHSA-2019:2519",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:2519"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1112",
                    "reference_id": "RHSA-2020:1112",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1112"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3600-1/",
                    "reference_id": "USN-3600-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3600-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3600-2/",
                    "reference_id": "USN-3600-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3600-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/990002?format=api",
                    "purl": "pkg:apk/alpine/php5@5.6.34-r0?arch=x86_64&distroversion=v3.5&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5@5.6.34-r0%3Farch=x86_64&distroversion=v3.5&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-7584"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "5.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nv53-k7pk-yqa7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php5@5.6.34-r0%3Farch=x86_64&distroversion=v3.5&reponame=main"
}