Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/194660?format=api",
    "purl": "pkg:ebuild/dev-lang/lua@5.2.3",
    "type": "ebuild",
    "namespace": "dev-lang",
    "name": "lua",
    "version": "5.2.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.4.4-r103",
    "latest_non_vulnerable_version": "5.4.4-r103",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42870?format=api",
            "vulnerability_id": "VCID-genu-xfqb-ryfk",
            "summary": "Out-of-bounds Read\nsinglevar in lparser.c in Lua through 5.4.4 lacks a certain luaK_exp2anyregup call, leading to a heap-based buffer over-read that might affect a system that compiles untrusted Lua code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-28805.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.2",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-28805.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-28805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38817",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00176",
                            "scoring_system": "epss",
                            "scoring_elements": "0.38905",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-28805"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28805",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28805"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/lua/lua/commit/1f3c6f4534c6411313361697d98d1145a1f030fa"
                },
                {
                    "reference_url": "https://lua-users.org/lists/lua-l/2022-02/msg00001.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lua-users.org/lists/lua-l/2022-02/msg00001.html"
                },
                {
                    "reference_url": "https://lua-users.org/lists/lua-l/2022-02/msg00070.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lua-users.org/lists/lua-l/2022-02/msg00070.html"
                },
                {
                    "reference_url": "https://lua-users.org/lists/lua-l/2022-04/msg00009.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://lua-users.org/lists/lua-l/2022-04/msg00009.html"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010265",
                    "reference_id": "1010265",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010265"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2073884",
                    "reference_id": "2073884",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2073884"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28805",
                    "reference_id": "CVE-2022-28805",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-28805"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202305-23",
                    "reference_id": "GLSA-202305-23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202305-23"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:2582",
                    "reference_id": "RHSA-2023:2582",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:2582"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/6916-1/",
                    "reference_id": "USN-6916-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6916-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194659?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.1.5-r200",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.1.5-r200"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194660?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194661?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.4.4-r103",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.4.4-r103"
                }
            ],
            "aliases": [
                "CVE-2022-28805"
            ],
            "risk_score": 2.8,
            "exploitability": "0.5",
            "weighted_severity": "5.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-genu-xfqb-ryfk"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42039?format=api",
            "vulnerability_id": "VCID-sypb-grma-cfhq",
            "summary": "Access of Resource Using Incompatible Type ('Type Confusion')\nLua are affected by SEGV by type confusion in funcnamefromcode function in ldebug.c which can cause a local denial of service.",
            "references": [
                {
                    "reference_url": "http://lua-users.org/lists/lua-l/2021-11/msg00195.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lua-users.org/lists/lua-l/2021-11/msg00195.html"
                },
                {
                    "reference_url": "http://lua-users.org/lists/lua-l/2021-11/msg00204.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lua-users.org/lists/lua-l/2021-11/msg00204.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-44647.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-44647.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-44647",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00134",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32479",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00134",
                            "scoring_system": "epss",
                            "scoring_elements": "0.32551",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-44647"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44647",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44647"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004189",
                    "reference_id": "1004189",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1004189"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2044415",
                    "reference_id": "2044415",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2044415"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44647",
                    "reference_id": "CVE-2021-44647",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-44647"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202305-23",
                    "reference_id": "GLSA-202305-23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202305-23"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194659?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.1.5-r200",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.1.5-r200"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194660?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194661?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.4.4-r103",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.4.4-r103"
                }
            ],
            "aliases": [
                "CVE-2021-44647"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sypb-grma-cfhq"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3485?format=api",
            "vulnerability_id": "VCID-t68p-xm4z-pqe5",
            "summary": "denial of service",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-5461.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-5461.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2014-5461",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.10626",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93428",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.10626",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9344",
                            "published_at": "2026-06-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2014-5461"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5461",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5461"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1132304",
                    "reference_id": "1132304",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1132304"
                },
                {
                    "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.gentoo.org/glsa/201701-53",
                    "reference_id": "GLSA-201701-53",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-53"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202305-23",
                    "reference_id": "GLSA-202305-23",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202305-23"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/2338-1/",
                    "reference_id": "USN-2338-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/2338-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/192334?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.1.5-r4",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-genu-xfqb-ryfk"
                        },
                        {
                            "vulnerability": "VCID-sypb-grma-cfhq"
                        },
                        {
                            "vulnerability": "VCID-t68p-xm4z-pqe5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.1.5-r4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194659?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.1.5-r200",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.1.5-r200"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194660?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.2.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.2.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/194661?format=api",
                    "purl": "pkg:ebuild/dev-lang/lua@5.4.4-r103",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.4.4-r103"
                }
            ],
            "aliases": [
                "CVE-2014-5461"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t68p-xm4z-pqe5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/lua@5.2.3"
}