Vulnerability · Published Dec 18, 2024 · Assigned by snyk

CVE-2024-21548

High 7.5

In plain English

A high-severity prototype pollution in bun. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 47.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmbun1.1.30GHSA-v9mx-4pqq-h232

Affected products (as reported)

VendorProductVersions
n/a bun 0.0.12 – before 1.1.30

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P

References