{"id":"CVE-2024-21548","aliases":["EUVD-2024-3614","GHSA-v9mx-4pqq-h232"],"status":"published","title":"Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo","description":"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.\r\r**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.","severity":{"version":"4.0","score":7.7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00671,"percentile":0.52478,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1321"],"published":"2024-12-18T06:06:03Z","modified":"2026-10-28T11:21:59Z","fixes":[{"ecosystem":"npm","package":"bun","fixed_in":["1.1.30"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"bun","ranges":[{"type":"UNPARSED","raw":"\u003e 0.0.12, \u003c 1.1.30","events":[{"fixed":"1.1.30"}]}]},{"source":"osv","ecosystem":"npm","package":"bun","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.30"}]}]}],"products":[{"vendor":"bun","product":"bun"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-BUN-8499549","tags":["web"]},{"url":"https://github.com/oven-sh/bun/commit/a234e067a5dc7837602df3fb5489e826920cc65a","tags":["fix","web"]},{"url":"https://github.com/oven-sh/bun/pull/14119","tags":["fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21548","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v9mx-4pqq-h232"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21548.json","tags":["advisory"]},{"url":"https://github.com/oven-sh/bun","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-21548","description":"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.\r\r**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.","status":"published","published":"2024-12-18T06:06:03.597Z","modified":"2026-08-19T15:25:50.596Z","cvss":[{"version":"4.0","score":7.7,"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","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-1321","CWE-1321"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-3614","description":"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.\r\r**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.","status":"published","published":"2024-12-18T06:06:03Z","modified":"2026-08-19T15:25:50Z","cvss":[{"version":"4.0","score":7.7,"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","level":"high"}],"updated_at":"2026-11-02T18:01:44.906351Z"}],"ghsa":[{"id":"GHSA-v9mx-4pqq-h232","title":"Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo","description":"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.","status":"published","published":"2024-12-18T06:30:49Z","modified":"2025-07-24T15:04:55Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:38:51.864708Z"}],"nvd":[{"id":"CVE-2024-21548","description":"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.\r\r**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.","status":"published","published":"2024-12-18T06:15:23.36Z","modified":"2026-06-17T07:09:43.27Z","cvss":[{"version":"4.0","score":6.8,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:10:40.507978Z"}],"osv":[{"id":"CVE-2024-21548","description":"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.\r\r**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.","status":"published","published":"2024-12-18T06:06:03.597Z","modified":"2026-10-28T11:21:59.061294574Z","cvss":[{"version":"4.0","score":6.8,"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","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-v9mx-4pqq-h232","title":"Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo","description":"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.","status":"published","published":"2024-12-18T06:30:49Z","modified":"2024-12-18T17:12:46.407178Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":6.8,"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","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:56.981655Z"}]}}
