What’s Vulnerable › Vulnerabilities

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. **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.

Affected products

How to fix

Upgrade to a fixed version: bun 1.1.30. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21548 or the next vulnerability affects your stack