Skip to content

Duplicate Advisory: web3-utils Prototype Pollution vulnerability

High severity GitHub Reviewed Published Mar 25, 2024 to the GitHub Advisory Database • Updated Mar 27, 2024
Withdrawn This advisory was withdrawn on Mar 27, 2024

Package

npm web3-utils (npm)

Affected versions

< 4.2.1

Patched versions

4.2.1

Description

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-2g4c-8fpm-c46v. This link is maintained to preserve external references.

Original Description

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.

References

Published by the National Vulnerability Database Mar 25, 2024
Published to the GitHub Advisory Database Mar 25, 2024
Reviewed Mar 25, 2024
Withdrawn Mar 27, 2024
Last updated Mar 27, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-87qp-7cw8-8q9c

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.