Skip to content

Regular expression denial of service in eth-account

Moderate severity GitHub Reviewed Published Aug 23, 2022 to the GitHub Advisory Database • Updated Jan 28, 2023

Package

pip eth-account (pip)

Affected versions

< 0.5.9

Patched versions

0.5.9

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

References

Published by the National Vulnerability Database Aug 22, 2022
Published to the GitHub Advisory Database Aug 23, 2022
Reviewed Aug 30, 2022
Last updated Jan 28, 2023

Severity

Moderate
5.9
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2022-1930

GHSA ID

GHSA-v65g-f3cj-fjp4

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.