{"id":"CVE-2024-21548","aliases":["CVE-2024-21548","GHSA-v9mx-4pqq-h232"],"related":[],"kind":"vulnerability","state":"published","title":"Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo","summary":"Versions of the package bun after 0.0.12 and before 1.1.30 are vulnerable to Prototype Pollution due to improper input sanitization. An attacker can exploit this vulnerability through Bun's APIs that accept objects.\n\n**Note:** This issue relates to the widely known and actively developed 'Bun' JavaScript runtime. The bun package on NPM at versions 0.0.12 and below belongs to a different and older project that happened to claim the 'bun' name in the past.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Versions of the package bun after 0.0.12 and before 1.1.30 are vulnerable to Prototype Pollution due to improper input sanitization. An attacker can exploit this vulnerability through Bun's APIs that accept objects.\n\n**Note:** This issue relates to the widely known and actively developed 'Bun' JavaScript runtime. The bun package on NPM at versions 0.0.12 and below belongs to a different and older project that happened to claim the 'bun' name in the past.","source":"cvelist"},{"lang":"en","text":"Versions of the package bun before 1.1.30 are vulnerable to Prototype Pollution due to improper input sanitization. An attacker can exploit this vulnerability through Bun's APIs that accept objects.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones del paquete bun anteriores a la 1.1.30 son vulnerables a la contaminación de prototipos debido a una desinfección de entrada incorrecta. Un atacante puede aprovechar esta vulnerabilidad a través de las API de Bun que aceptan objetos.","source":"nvd"}],"published":"2024-12-18T06:06:03.597Z","modified":"2026-08-19T15:25:50.596Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","score":7.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.12","fixed":"1.1.30","status":"affected"}],"product":"bun","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.1.30"}],"ecosystem":"npm","package":"bun","purl":"pkg:npm/bun","source":"ghsa"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-BUN-8499549","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/oven-sh/bun/commit/a234e067a5dc7837602df3fb5489e826920cc65a","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/oven-sh/bun/pull/14119","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21548","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/oven-sh/bun","tags":["package"],"sources":["ghsa"]}],"credits":["Liran Tal - Snyk Research Team"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-12-18T15:03:10.964Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21548","url":"https://www.cve.org/CVERecord?id=CVE-2024-21548","licence":"CVE Terms of Use","modified":"2026-08-19T15:25:50.596Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-v9mx-4pqq-h232","url":"https://github.com/advisories/GHSA-v9mx-4pqq-h232","licence":"CC-BY-4.0","modified":"2024-12-18T17:12:46.407Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21548","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21548","licence":"Public domain","modified":"2026-06-17T07:09:43.270Z"}],"updatedAt":"2026-11-25T22:58:50.219Z","epss":{"score":0.00671,"percentile":0.53299,"date":"2026-12-01T12:00:22.000Z"}}