Skip to main content
← All vulnerabilities
CVE-2024-21505GHSA-2G4C-8FPM-C46V

Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format and mergeDeep, due to

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format and mergeDeep, due to insecure recursive merge. An attacker can manipulate an object's prototype, potentially leading to the alteration of the behavior of all objects inheriting from the affected prototype by passing specially crafted input to these functions.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a web3-utils

    fixed in 4.2.1

  • web3-utilsnpm

    From 4.0.1 · fixed in 4.2.1

References 2

security.snyk.io

GitHub · web3/web3.js