ethereum/eth-account · Security
Regular expression denial of service in eth-account
- GHSA ID
- GHSA-v65g-f3cj-fjp4
- CVE ID
- CVE-2022-1930
- Severity
- medium
- Published
- Updated
- CVSS
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 5.9 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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
CWEs
- CWE-697 · Incorrect Comparison
- CWE-1333 · Inefficient Regular Expression Complexity