Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/52895?format=api",
    "vulnerability_id": "VCID-n66m-4kp4-a7ef",
    "summary": "NULL Pointer Dereference\n`ldebug.c` attempts to access debug information via the line hook of a stripped function, leading to a NULL pointer dereference.",
    "aliases": [
        {
            "alias": "CVE-2020-24369"
        }
    ],
    "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": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24369.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24369.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24369",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00573",
                    "scoring_system": "epss",
                    "scoring_elements": "0.69071",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.00573",
                    "scoring_system": "epss",
                    "scoring_elements": "0.69111",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24369"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24369",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24369"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://www.lua.org/bugs.html#5.4.0-12",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.lua.org/bugs.html#5.4.0-12"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870230",
            "reference_id": "1870230",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1870230"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971013",
            "reference_id": "971013",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971013"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24369",
            "reference_id": "CVE-2020-24369",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24369"
        }
    ],
    "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": 476,
            "name": "NULL Pointer Dereference",
            "description": "A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.1 - 7.0",
    "exploitability": "0.5",
    "weighted_severity": "6.3",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-n66m-4kp4-a7ef"
}