CVE-2024-21505
published high CVSS 3.1 · 7.5web3-utils vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | web3-utils | 0 to < 4.2.1 (affected · semver) | snyk · cna |
| web3 | web3-utils | 0 to < 4.2.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-1321 Prototype Pollution
- CWE-1321 CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
2Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d2774173b78374851fac6f6a1ad65896dde36d15b44362c1674843935b4ff910
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record