Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/398095?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/398095?format=api", "purl": "pkg:apk/alpine/lua5.4@5.4.3-r1?arch=aarch64&distroversion=v3.14&reponame=main", "type": "apk", "namespace": "alpine", "name": "lua5.4", "version": "5.4.3-r1", "qualifiers": { "arch": "aarch64", "distroversion": "v3.14", "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/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/398095?format=api", "purl": "pkg:apk/alpine/lua5.4@5.4.3-r1?arch=aarch64&distroversion=v3.14&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lua5.4@5.4.3-r1%3Farch=aarch64&distroversion=v3.14&reponame=main" } ], "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" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/lua5.4@5.4.3-r1%3Farch=aarch64&distroversion=v3.14&reponame=main" }