GHSA-87qp-7cw8-8q9c

Suggest an improvement
Source
https://github.com/advisories/GHSA-87qp-7cw8-8q9c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-87qp-7cw8-8q9c/GHSA-87qp-7cw8-8q9c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-87qp-7cw8-8q9c
Withdrawn
2024-03-27T21:57:36Z
Published
2024-03-25T06:30:24Z
Modified
2024-03-27T21:57:36Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Duplicate Advisory: web3-utils Prototype Pollution vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2024-03-25T05:15:50Z",
    "github_reviewed_at": "2024-03-25T19:36:43Z",
    "github_reviewed": true,
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-1321"
    ]
}
References

Affected packages

npm / web3-utils

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.2.1