Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/189002?format=api",
    "purl": "pkg:alpm/archlinux/lua@5.4.3-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "lua",
    "version": "5.4.3-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "5.4.4-1",
    "latest_non_vulnerable_version": "5.4.4-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3484?format=api",
            "vulnerability_id": "VCID-9hw6-zjwq-83gr",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "http://lua-users.org/lists/lua-l/2021-10/msg00123.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lua-users.org/lists/lua-l/2021-10/msg00123.html"
                },
                {
                    "reference_url": "http://lua-users.org/lists/lua-l/2021-11/msg00015.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lua-users.org/lists/lua-l/2021-11/msg00015.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-43519.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-43519.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43519",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00174",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38507",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00174",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38596",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-43519"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43519",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43519"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000228",
                    "reference_id": "1000228",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000228"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2047672",
                    "reference_id": "2047672",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2047672"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1302",
                    "reference_id": "AVG-1302",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1302"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2535",
                    "reference_id": "AVG-2535",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2535"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2536",
                    "reference_id": "AVG-2536",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2536"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2537",
                    "reference_id": "AVG-2537",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2537"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43519",
                    "reference_id": "CVE-2021-43519",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-43519"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:0957",
                    "reference_id": "RHSA-2023:0957",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:0957"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1211",
                    "reference_id": "RHSA-2023:1211",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1211"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/189003?format=api",
                    "purl": "pkg:alpm/archlinux/lua@5.4.4-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/lua@5.4.4-1"
                }
            ],
            "aliases": [
                "CVE-2021-43519"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9hw6-zjwq-83gr"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/lua@5.4.3-1"
}