CVE Vulnerabilities

CVE-2024-21548

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Dec 18, 2024 | Modified: Jul 24, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Potential Mitigations

References