Open-source package vulnerability · npm
CVE-2024-21548: Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo
mediumCVSS 4.0 6.8 · 3.1 7.5GHSA-v9mx-4pqq-h232
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.
Published Dec 18, 2024 · Updated Jul 24, 2025
Affected packages
bun
- Ecosystem
- npm
- Affected
- > 0.0.12, < 1.1.30
- Fixed in
- 1.1.30
- Check
npm ls bun
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to lirantal.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
