eth-account@0.5.6 vulnerabilities

eth-account: Sign Ethereum transactions and messages with local private keys

Direct Vulnerabilities

Known vulnerabilities in the eth-account package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

eth-account is a library for signing Ethereum transactions and messages with local private keys

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the validate_types_attribute() function in _utils/structured_data/validation.py, which is accessible by passing crafted input to the encode_structured_data method.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade eth-account to version 0.5.9 or higher.

[,0.5.9)