CVE-2024-21505

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21505
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21505.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-21505
Aliases
Published
2024-03-25T05:15:50Z
Modified
2025-01-15T05:06:15.041787Z
Summary
[none]
Details

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

Affected packages

Git / github.com/web3/web3.js

Affected ranges

Type
GIT
Repo
https://github.com/web3/web3.js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.1.0
0.10.0
0.11.0
0.12.0
0.12.1
0.12.2
0.13.0
0.14.0
0.15.0
0.15.2
0.15.3
0.16.0
0.18.0
0.18.1
0.18.2
0.18.4
0.19.0
0.2.0
0.2.1
0.2.2
0.2.3
0.2.4
0.2.6
0.2.7
0.2.8
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.4.0
0.4.1
0.4.2
0.4.3
0.5.0
0.6.0
0.7.0
0.7.1
0.8.0
0.8.1
0.9.0
0.9.1
0.9.2

1.*

1.0.0-beta.18
1.0.0-beta.22
1.0.0-beta.37
1.2.7-rc.0

v0.*

v0.0.15
v0.0.16

v1.*

v1.0.0-beta.10
v1.0.0-beta.11
v1.0.0-beta.12
v1.0.0-beta.13
v1.0.0-beta.14
v1.0.0-beta.15
v1.0.0-beta.16
v1.0.0-beta.17
v1.0.0-beta.32
v1.0.0-beta.33
v1.0.0-beta.34
v1.0.0-beta.35
v1.0.0-beta.36
v1.0.0-beta.37
v1.0.0-beta.8
v1.0.0-beta.9
v1.2.0
v1.2.1
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.5-rc.0
v1.2.8
v1.2.8-rc.0
v1.2.8-rc.1
v1.2.9
v1.2.9-rc.0
v1.3.0
v1.3.0-rc.0

v4.*

v4.4.0
v4.5.0