CVE-2024-21548

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductBun
PublishedDec 18, 2024
First seenDec 18, 2024

How to fix

Update
  • bun1.1.30 or later

Affected products

ProductAffected versionsFixed in
bunnpmv < 1.1.301.1.30

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.