Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1117618?format=api",
    "purl": "pkg:apk/alpine/php7@7.2.13-r0?arch=x86_64&distroversion=v3.14&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "php7",
    "version": "7.2.13-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.14",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "7.2.14-r0",
    "latest_non_vulnerable_version": "7.4.33-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/109343?format=api",
            "vulnerability_id": "VCID-z33j-71c5-muaf",
            "summary": "php: Buffer over-read in PHAR reading functions",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20783.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-20783.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20783",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05101",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89994",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.05101",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90009",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.05101",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90019",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.05101",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90006",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.05101",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90005",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-20783"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14851"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14883",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14883"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17082",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17082"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19518",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19518"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19935",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-19935"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20783",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20783"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1680545",
                    "reference_id": "1680545",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1680545"
                },
                {
                    "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-2019:3299",
                    "reference_id": "RHSA-2019:3299",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3299"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1624",
                    "reference_id": "RHSA-2020:1624",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1624"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3566-2/",
                    "reference_id": "USN-3566-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3566-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1117618?format=api",
                    "purl": "pkg:apk/alpine/php7@7.2.13-r0?arch=x86_64&distroversion=v3.14&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php7@7.2.13-r0%3Farch=x86_64&distroversion=v3.14&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2018-20783"
            ],
            "risk_score": 2.4,
            "exploitability": "0.5",
            "weighted_severity": "4.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z33j-71c5-muaf"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php7@7.2.13-r0%3Farch=x86_64&distroversion=v3.14&reponame=community"
}