Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55497?format=api",
    "vulnerability_id": "VCID-jb2n-pjje-d3c7",
    "summary": "node-stringbuilder vulnerable to Out-of-bounds Read\nAll versions of the package node-stringbuilder are vulnerable to Out-of-bounds Read due to incorrect memory length calculation, by calling ToBuffer, ToString, or CharAt on a StringBuilder object with a non-empty string value input. It's possible to return previously allocated memory, for example, by providing negative indexes, leading to an Information Disclosure.",
    "aliases": [
        {
            "alias": "CVE-2024-21524"
        },
        {
            "alias": "GHSA-g533-xq5w-jmf3"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750954?format=api",
            "purl": "pkg:npm/node-stringbuilder@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@1.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750955?format=api",
            "purl": "pkg:npm/node-stringbuilder@1.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@1.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750956?format=api",
            "purl": "pkg:npm/node-stringbuilder@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@1.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750957?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750958?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.0.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750959?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.0.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.0.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750960?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750961?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750962?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750963?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750964?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750965?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750966?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750967?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/750968?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/82133?format=api",
            "purl": "pkg:npm/node-stringbuilder@2.2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jb2n-pjje-d3c7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-stringbuilder@2.2.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21524",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00211",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43632",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.00211",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43608",
                    "published_at": "2026-06-09T12:55:00Z"
                },
                {
                    "value": "0.00211",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43599",
                    "published_at": "2026-06-08T12:55:00Z"
                },
                {
                    "value": "0.00211",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43646",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00211",
                    "scoring_system": "epss",
                    "scoring_elements": "0.43656",
                    "published_at": "2026-06-06T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21524"
        },
        {
            "reference_url": "https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P"
                },
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-07-12T16:26:50Z/"
                }
            ],
            "url": "https://gist.github.com/dellalibera/0bb022811224f81d998fa61c3175ee67"
        },
        {
            "reference_url": "https://github.com/magiclen/node-stringbuilder",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/magiclen/node-stringbuilder"
        },
        {
            "reference_url": "https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c#L1281",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c#L1281"
        },
        {
            "reference_url": "https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                },
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-07-12T16:26:50Z/"
                }
            ],
            "url": "https://security.snyk.io/vuln/SNYK-JS-NODESTRINGBUILDER-6421617"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21524",
            "reference_id": "CVE-2024-21524",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21524"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-g533-xq5w-jmf3",
            "reference_id": "GHSA-g533-xq5w-jmf3",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-g533-xq5w-jmf3"
        },
        {
            "reference_url": "https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c%23L1281",
            "reference_id": "node-stringbuilder.c%23L1281",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H/E:P"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2024-07-12T16:26:50Z/"
                }
            ],
            "url": "https://github.com/magiclen/node-stringbuilder/blob/5c2797d3d6bf8cb6d10fe1e077609cef9a5a7de0/src/node-stringbuilder.c%23L1281"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 125,
            "name": "Out-of-bounds Read",
            "description": "The product reads data past the end, or before the beginning, of the intended 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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jb2n-pjje-d3c7"
}