Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47334?format=api",
    "vulnerability_id": "VCID-ayrg-3d9c-nbe2",
    "summary": "KaTeX's maxExpand bypassed by Unicode sub/superscripts\nKaTeX users who render untrusted mathematical expressions could encounter malicious input using `\\def` or `\\newcommand` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. This can be used as an availability attack, where e.g. a client rendering another user's KaTeX input will be unable to use the site due to memory overflow, tying up the main thread, or stack overflow.",
    "aliases": [
        {
            "alias": "CVE-2024-28244"
        },
        {
            "alias": "GHSA-cvr6-37gx-v8wc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118755?format=api",
            "purl": "pkg:deb/debian/node-katex@0.16.10%2B~cs6.1.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-katex@0.16.10%252B~cs6.1.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118756?format=api",
            "purl": "pkg:deb/debian/node-katex@0.16.10%2B~cs6.1.0-2?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-phsv-z92c-8fer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-katex@0.16.10%252B~cs6.1.0-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118753?format=api",
            "purl": "pkg:deb/debian/node-katex@0.16.10%2B~cs6.1.0-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-katex@0.16.10%252B~cs6.1.0-7%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69536?format=api",
            "purl": "pkg:npm/katex@0.16.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/katex@0.16.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118751?format=api",
            "purl": "pkg:deb/debian/node-katex@0.10.2%2Bdfsg-8?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ayrg-3d9c-nbe2"
                },
                {
                    "vulnerability": "VCID-fqjy-nkws-nbaq"
                },
                {
                    "vulnerability": "VCID-gk2f-au8b-gqgq"
                },
                {
                    "vulnerability": "VCID-phsv-z92c-8fer"
                },
                {
                    "vulnerability": "VCID-rbjk-jdqx-dfav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-katex@0.10.2%252Bdfsg-8%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118752?format=api",
            "purl": "pkg:deb/debian/node-katex@0.16.4%2B~cs6.1.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ayrg-3d9c-nbe2"
                },
                {
                    "vulnerability": "VCID-fqjy-nkws-nbaq"
                },
                {
                    "vulnerability": "VCID-gk2f-au8b-gqgq"
                },
                {
                    "vulnerability": "VCID-phsv-z92c-8fer"
                },
                {
                    "vulnerability": "VCID-rbjk-jdqx-dfav"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-katex@0.16.4%252B~cs6.1.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/69551?format=api",
            "purl": "pkg:npm/katex@0.15.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ayrg-3d9c-nbe2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/katex@0.15.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/KaTeX/KaTeX",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/KaTeX/KaTeX"
        },
        {
            "reference_url": "https://github.com/KaTeX/KaTeX/commit/085e21b5da05414efefa932570e7201a7c70e5b2",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/KaTeX/KaTeX/commit/085e21b5da05414efefa932570e7201a7c70e5b2"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067805",
            "reference_id": "1067805",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067805"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28244",
            "reference_id": "CVE-2024-28244",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-28244"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-cvr6-37gx-v8wc",
            "reference_id": "GHSA-cvr6-37gx-v8wc",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-cvr6-37gx-v8wc"
        },
        {
            "reference_url": "https://github.com/KaTeX/KaTeX/security/advisories/GHSA-cvr6-37gx-v8wc",
            "reference_id": "GHSA-cvr6-37gx-v8wc",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/KaTeX/KaTeX/security/advisories/GHSA-cvr6-37gx-v8wc"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 606,
            "name": "Unchecked Input for Loop Condition",
            "description": "The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping."
        },
        {
            "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": 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": 674,
            "name": "Uncontrolled Recursion",
            "description": "The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ayrg-3d9c-nbe2"
}