Security mailing lists by PureSourceCode

CVE-2024-21505

HIGH 7.5CVSS 3.1

web3-utils Prototype Pollution vulnerability

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.

Published
25 Mar 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-1321
Also known as
GHSA-2g4c-8fpm-c46v
Sources
NVDJSONOSV GHSA-2g4c-8fpm-c46vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm web3-utils >= 4.0.1, < 4.2.1 4.2.1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Mar 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.