{"id":"CVE-2021-25948","aliases":["CVE-2021-25948","GHSA-x3wr-v4wx-5qpc"],"related":[],"kind":"vulnerability","state":"published","title":"Prototype Pollution","summary":"Prototype pollution vulnerability in 'expand-hash' versions 0.1.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Prototype pollution vulnerability in 'expand-hash' versions 0.1.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.","source":"cvelist"},{"lang":"en","text":"Prototype pollution vulnerability in ‘expand-hash’ versions 0.1.0 through 1.0.1 allows an attacker to cause a denial of service and may lead to remote code execution.","format":"markdown","source":"ghsa"},{"lang":"es","text":"La vulnerabilidad de contaminación de prototipos en las versiones 0.1.0 a 1.0.1 de 'expand-hash' permite a un atacante provocar una denegación de servicio y puede llevar a la ejecución remota de código","source":"nvd"}],"published":"2021-06-10T11:55:36.000Z","modified":"2026-06-17T03:42:39.637Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-915","CWE-1321"],"affected":[{"ranges":[{"version":"0.1.0, 0.1.1, 0.2.1, 0.2.2, 1.0.0, 1.0.1","status":"affected"}],"product":"expand-hash","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.1"}],"ecosystem":"npm","package":"expand-hash","purl":"pkg:npm/expand-hash","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.1.0","lastAffected":"1.0.1"}],"vendor":"expand-hash_project","product":"expand-hash","cpe":"cpe:2.3:a:expand-hash_project:expand-hash:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25948","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/doowb/expand-hash/blob/556913f6c2f05848110b5b8261cfc78e5ce3dc77/index.js#L19","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25948","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/doowb/expand-hash","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-25948","url":"https://www.cve.org/CVERecord?id=CVE-2021-25948","licence":"CVE Terms of Use","modified":"2024-08-03T20:19:18.547Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x3wr-v4wx-5qpc","url":"https://github.com/advisories/GHSA-x3wr-v4wx-5qpc","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:18.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-25948","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25948","licence":"Public domain","modified":"2026-06-17T03:42:39.637Z"}],"updatedAt":"2026-11-25T22:58:01.769Z","epss":{"score":0.03299,"percentile":0.88841,"date":"2026-12-01T12:00:22.000Z"}}