Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. bun
  4. ›
  5. CVE-2024-21548

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

December 18, 2024

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.

References

  • github.com/advisories/GHSA-v9mx-4pqq-h232
  • github.com/oven-sh/bun
  • github.com/oven-sh/bun/commit/a234e067a5dc7837602df3fb5489e826920cc65a
  • github.com/oven-sh/bun/pull/14119
  • nvd.nist.gov/vuln/detail/CVE-2024-21548
  • security.snyk.io/vuln/SNYK-JS-BUN-8499549

Code Behaviors & Features

Detect and mitigate CVE-2024-21548 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.30

Fixed versions

  • 1.1.30

Solution

Upgrade to version 1.1.30 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/bun/CVE-2024-21548.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 00:14:40 +0000.