Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/378246?format=api",
    "purl": "pkg:apk/alpine/squid@3.5.27-r0?arch=armhf&distroversion=v3.6&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "squid",
    "version": "3.5.27-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.6",
        "reponame": "main"
    },
    "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/101417?format=api",
            "vulnerability_id": "VCID-kks8-56y6-6kew",
            "summary": "The Squid Software Foundation Squid HTTP Caching Proxy version 3.0 to 3.5.27, 4.0 to 4.0.22 contains a Incorrect Pointer Handling vulnerability in ESI Response Processing that can result in Denial of Service for all clients using the proxy.. This attack appear to be exploitable via Remote server delivers an HTTP response payload containing valid but unusual ESI syntax.. This vulnerability appears to have been fixed in 4.0.23 and later.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000024.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000024.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000024",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.09177",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92842",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.09177",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92854",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.09177",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9285",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000024"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000024",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000024"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000027",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000027"
                },
                {
                    "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:N/I:L/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=1536939",
                    "reference_id": "1536939",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1536939"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1068",
                    "reference_id": "RHSA-2020:1068",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1068"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3557-1/",
                    "reference_id": "USN-3557-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3557-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4059-2/",
                    "reference_id": "USN-4059-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4059-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/378246?format=api",
                    "purl": "pkg:apk/alpine/squid@3.5.27-r0?arch=armhf&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@3.5.27-r0%3Farch=armhf&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-1000024"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kks8-56y6-6kew"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101418?format=api",
            "vulnerability_id": "VCID-vtfj-m8fv-67fz",
            "summary": "The Squid Software Foundation Squid HTTP Caching Proxy version prior to version 4.0.23 contains a NULL Pointer Dereference vulnerability in HTTP Response X-Forwarded-For header processing that can result in Denial of Service to all clients of the proxy. This attack appear to be exploitable via Remote HTTP server responding with an X-Forwarded-For header to certain types of HTTP request. This vulnerability appears to have been fixed in 4.0.23 and later.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000027.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1000027.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000027",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.65998",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9853",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.65998",
                            "scoring_system": "epss",
                            "scoring_elements": "0.98533",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1000027"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000024",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000024"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000027",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000027"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/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=1536942",
                    "reference_id": "1536942",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1536942"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1068",
                    "reference_id": "RHSA-2020:1068",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1068"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3557-1/",
                    "reference_id": "USN-3557-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3557-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4059-2/",
                    "reference_id": "USN-4059-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4059-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/378246?format=api",
                    "purl": "pkg:apk/alpine/squid@3.5.27-r0?arch=armhf&distroversion=v3.6&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@3.5.27-r0%3Farch=armhf&distroversion=v3.6&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-1000027"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "6.1",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vtfj-m8fv-67fz"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@3.5.27-r0%3Farch=armhf&distroversion=v3.6&reponame=main"
}