Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52894?format=api",
    "vulnerability_id": "VCID-ute6-ecyg-9ffz",
    "summary": "Integer Underflow (Wrap or Wraparound)\n`ldebug.c` allows a negation overflow and segmentation fault in `getlocal` and `setlocal`.",
    "aliases": [
        {
            "alias": "CVE-2020-24370"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/115445?format=api",
            "purl": "pkg:deb/debian/lua5.3@5.3.3-1.1%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.3@5.3.3-1.1%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/115444?format=api",
            "purl": "pkg:deb/debian/lua5.3@5.3.6-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.3@5.3.6-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/115443?format=api",
            "purl": "pkg:deb/debian/lua5.3@5.3.6-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.3@5.3.6-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/115446?format=api",
            "purl": "pkg:deb/debian/lua5.3@5.3.6-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/lua5.3@5.3.6-3%3Fdistro=trixie"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/140355?format=api",
            "purl": "pkg:rpm/redhat/lua@5.3.4-12?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ute6-ecyg-9ffz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/lua@5.3.4-12%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://lua-users.org/lists/lua-l/2020-07/msg00324.html"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24370.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24370.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24370",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.02019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84072",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.02019",
                    "scoring_system": "epss",
                    "scoring_elements": "0.84095",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24370"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24370",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24370"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870290",
            "reference_id": "1870290",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870290"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971613",
            "reference_id": "971613",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971613"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988734",
            "reference_id": "988734",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988734"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24370",
            "reference_id": "CVE-2020-24370",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24370"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:4510",
            "reference_id": "RHSA-2021:4510",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:4510"
        }
    ],
    "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": 191,
            "name": "Integer Underflow (Wrap or Wraparound)",
            "description": "The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result."
        },
        {
            "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": 682,
            "name": "Incorrect Calculation",
            "description": "The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 5.3",
    "exploitability": "0.5",
    "weighted_severity": "4.8",
    "risk_score": 2.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ute6-ecyg-9ffz"
}