CVE-2024-21548
JSON

7.7high

Bun has an Application-level Prototype Pollution vulnerability in the runtime native API for Glo

Severity
7.7high CVSS:4.0 by snyk
Exploit likelihood
0.67% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-v9mx-4pqq-h232

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

Product or packageVersionsReported by
bunfrom 0.0.12 before 1.1.30CVE List
bun (npm)before 1.1.30GitHub Advisory Database

All scores

snyk7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
snyk7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub7.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Classification

CWE-1321

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Las versiones del paquete bun anteriores a la 1.1.30 son vulnerables a la contaminación de prototipos debido a una desinfección de entrada incorrecta. Un atacante puede aprovechar esta vulnerabilidad a través de las API de Bun que aceptan objetos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21548 changed 2026-08-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-v9mx-4pqq-h232 changed 2024-12-18CC-BY-4.0
NVDCVE-2024-21548 changed 2026-06-17Public domain