What’s Vulnerable › Vulnerabilities
CVE-2022-1930: ReDoS in eth-account encode_structured_data function
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-08-22 · updated 2026-06-17
- Weakness: CWE-1333
Description
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the eth-account PyPI package, when an attacker is able to supply arbitrary input to the encode_structured_data method
Affected products
- eth-account: before 0.5.9 — fixed in 0.5.9
How to fix
Upgrade to a fixed version: eth-account 0.5.9. Check the vendor advisory for mitigations.
References
- https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/
- https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/
Get alerted when CVE-2022-1930 or the next vulnerability affects your stack