Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/201555?format=api",
    "purl": "pkg:apk/alpine/squid@5.2-r0?arch=x86_64&distroversion=v3.20&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "squid",
    "version": "5.2-r0",
    "qualifiers": {
        "arch": "x86_64",
        "distroversion": "v3.20",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.7-r0",
    "latest_non_vulnerable_version": "6.6-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9277?format=api",
            "vulnerability_id": "VCID-7xnb-nrtq-fufk",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-28116.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/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-2021-28116.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.10515",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93428",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.10515",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9345",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.10515",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93454",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-28116"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-28116"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46784",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-46784"
                },
                {
                    "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=1939939",
                    "reference_id": "1939939",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1939939"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986804",
                    "reference_id": "986804",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986804"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1667",
                    "reference_id": "AVG-1667",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1667"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202105-14",
                    "reference_id": "GLSA-202105-14",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202105-14"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:1939",
                    "reference_id": "RHSA-2022:1939",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:1939"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5104-1/",
                    "reference_id": "USN-5104-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5104-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/201555?format=api",
                    "purl": "pkg:apk/alpine/squid@5.2-r0?arch=x86_64&distroversion=v3.20&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@5.2-r0%3Farch=x86_64&distroversion=v3.20&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-28116"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7xnb-nrtq-fufk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/197143?format=api",
            "vulnerability_id": "VCID-ha2y-ejuf-vka8",
            "summary": "multiple issues",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41611.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41611.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41611",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0112",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78649",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.0112",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78715",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.0112",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78732",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.0112",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78728",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41611"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2010685",
                    "reference_id": "2010685",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2010685"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1667",
                    "reference_id": "AVG-1667",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1667"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/201555?format=api",
                    "purl": "pkg:apk/alpine/squid@5.2-r0?arch=x86_64&distroversion=v3.20&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@5.2-r0%3Farch=x86_64&distroversion=v3.20&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2021-41611"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ha2y-ejuf-vka8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/squid@5.2-r0%3Farch=x86_64&distroversion=v3.20&reponame=main"
}