Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/52881?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52881?format=api", "vulnerability_id": "VCID-n4rj-yf2u-j7fe", "summary": "Improper Restriction of Operations within the Bounds of a Memory Buffer\nLua through allows a stack redzone cross in `luaO_pushvfstring` because a protection mechanism wrongly calls `luaD_callnoyield` twice in a row.", "aliases": [ { "alias": "CVE-2020-24342" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/115450?format=api", "purl": "pkg:deb/debian/lua5.4@5.4.1-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.4@5.4.1-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/115451?format=api", "purl": "pkg:deb/debian/lua5.4@5.4.2-2?distro=trixie", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9hw6-zjwq-83gr" }, { "vulnerability": "VCID-g3t3-qp1h-jfe3" }, { "vulnerability": "VCID-genu-xfqb-ryfk" }, { "vulnerability": "VCID-h37s-ads2-zugj" }, { "vulnerability": "VCID-pdpa-5dks-u7a9" }, { "vulnerability": "VCID-sypb-grma-cfhq" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.4@5.4.2-2%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/115449?format=api", "purl": "pkg:deb/debian/lua5.4@5.4.4-3%2Bdeb12u1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.4@5.4.4-3%252Bdeb12u1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/115453?format=api", "purl": "pkg:deb/debian/lua5.4@5.4.7-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.4@5.4.7-1%3Fdistro=trixie" }, { "url": "http://public2.vulnerablecode.io/api/packages/115452?format=api", "purl": "pkg:deb/debian/lua5.4@5.4.8-1?distro=trixie", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.4@5.4.8-1%3Fdistro=trixie" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/59519?format=api", "purl": "pkg:conan/lua@5.4.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-9hw6-zjwq-83gr" }, { "vulnerability": "VCID-genu-xfqb-ryfk" }, { "vulnerability": "VCID-k38z-6c33-vueb" }, { "vulnerability": "VCID-n4rj-yf2u-j7fe" }, { "vulnerability": "VCID-n66m-4kp4-a7ef" }, { "vulnerability": "VCID-pdpa-5dks-u7a9" }, { "vulnerability": "VCID-qp4c-jwam-nub9" }, { "vulnerability": "VCID-s7du-gace-j3ev" }, { "vulnerability": "VCID-t3vr-j6vw-33db" }, { "vulnerability": "VCID-ute6-ecyg-9ffz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:conan/lua@5.4.0" } ], "references": [ { "reference_url": "http://lua-users.org/lists/lua-l/2020-07/msg00052.html", "reference_id": "", "reference_type": "", "scores": [], "url": "http://lua-users.org/lists/lua-l/2020-07/msg00052.html" }, { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24342.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.8", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24342.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24342", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00307", "scoring_system": "epss", "scoring_elements": "0.54205", "published_at": "2026-06-04T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24342" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1873084", "reference_id": "1873084", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1873084" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971012", "reference_id": "971012", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971012" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24342", "reference_id": "CVE-2020-24342", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24342" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 119, "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer", "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 120, "name": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')", "description": "The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow." } ], "exploits": [], "severity_range_score": "7.8 - 7.8", "exploitability": "0.5", "weighted_severity": "7.0", "risk_score": 3.5, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n4rj-yf2u-j7fe" }