CVE-2024-21548
MEDIUM 6.8CVSS 4.0Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo
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.
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.
- Published
- 18 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-v9mx-4pqq-h232
- Sources
- NVDJSONOSV GHSA-v9mx-4pqq-h232JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 6.8 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | bun | < 1.1.30 | 1.1.30 |
References
- https://github.com/oven-sh/bun/commit/a234e067a5dc7837602df3fb5489e826920cc65a · WEB
- https://github.com/oven-sh/bun/pull/14119 · WEB
- https://security.snyk.io/vuln/SNYK-JS-BUN-8499549 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21548 · ADVISORY
- https://github.com/oven-sh/bun · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 18 Dec 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Dec 2024)