Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/1022997?format=api",
    "purl": "pkg:apk/alpine/php7@7.3.14-r0?arch=x86&distroversion=v3.10&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "php7",
    "version": "7.3.14-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.10",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43012?format=api",
            "vulnerability_id": "VCID-hak4-3ww9-aydn",
            "summary": "Multiple vulnerabilities have been found in PHP, the worst of which\n    could result in the execution of arbitrary shell commands.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7059.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7059.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7059",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84888",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84903",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84921",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84925",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84948",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84955",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84971",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8497",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84965",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84986",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84988",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.84985",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85011",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85018",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.02373",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85017",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7059"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11045"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11046",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11046"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11047"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11050",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11050"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7059",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7059"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7060",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7060"
                },
                {
                    "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.1",
                            "scoring_elements": "CVSS:3.1/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=1797776",
                    "reference_id": "1797776",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1797776"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202003-57",
                    "reference_id": "GLSA-202003-57",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202003-57"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3662",
                    "reference_id": "RHSA-2020:3662",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3662"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5275",
                    "reference_id": "RHSA-2020:5275",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5275"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4279-1/",
                    "reference_id": "USN-4279-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4279-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1022997?format=api",
                    "purl": "pkg:apk/alpine/php7@7.3.14-r0?arch=x86&distroversion=v3.10&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php7@7.3.14-r0%3Farch=x86&distroversion=v3.10&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-7059"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hak4-3ww9-aydn"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43013?format=api",
            "vulnerability_id": "VCID-hv57-6hth-6qfj",
            "summary": "Multiple vulnerabilities have been found in PHP, the worst of which\n    could result in the execution of arbitrary shell commands.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7060.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7060.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7060",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90985",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9099",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90999",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9101",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91022",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91028",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91036",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9106",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91058",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91061",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91074",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91072",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.06404",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91068",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7060"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11045",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11045"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11046",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11046"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11047",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11047"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11050",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11050"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7059",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7059"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7060",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7060"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/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=1797779",
                    "reference_id": "1797779",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1797779"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202003-57",
                    "reference_id": "GLSA-202003-57",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202003-57"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3662",
                    "reference_id": "RHSA-2020:3662",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3662"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:5275",
                    "reference_id": "RHSA-2020:5275",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:5275"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4279-1/",
                    "reference_id": "USN-4279-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4279-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1022997?format=api",
                    "purl": "pkg:apk/alpine/php7@7.3.14-r0?arch=x86&distroversion=v3.10&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php7@7.3.14-r0%3Farch=x86&distroversion=v3.10&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2020-7060"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hv57-6hth-6qfj"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/php7@7.3.14-r0%3Farch=x86&distroversion=v3.10&reponame=community"
}