Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/3841?format=api",
    "purl": "pkg:alpm/archlinux/squashfs-tools@4.4_git.1-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "squashfs-tools",
    "version": "4.4_git.1-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.5.1-1",
    "latest_non_vulnerable_version": "4.5.1-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7196?format=api",
            "vulnerability_id": "VCID-mxdb-ssyw-zqg5",
            "summary": "directory traversal",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40153.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:N/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-40153.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40153",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00542",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68043",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-40153"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40153",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40153"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1998621",
                    "reference_id": "1998621",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1998621"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2328",
                    "reference_id": "AVG-2328",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2328"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:2396",
                    "reference_id": "RHSA-2024:2396",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:2396"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:3139",
                    "reference_id": "RHSA-2024:3139",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:3139"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/3566?format=api",
                    "purl": "pkg:alpm/archlinux/squashfs-tools@4.5-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-y5cg-5m54-afew"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/squashfs-tools@4.5-1"
                }
            ],
            "aliases": [
                "CVE-2021-40153"
            ],
            "risk_score": 3.6,
            "exploitability": "0.5",
            "weighted_severity": "7.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mxdb-ssyw-zqg5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/squashfs-tools@4.4_git.1-1"
}