Advisory

GHSA-v65g-f3cj-fjp4

Also known as: CVE-2022-1930, PYSEC-2026-806

Summary

Regular expression denial of service in eth-account

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-23 00:00 UTC
Modified
2026-07-07 11:56 UTC

Affected packages and fixes

eth-account

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.9 (ecosystem)

Fixed versions

0.5.9

Fix

  • Fixed version 0.5.9
    pip install --upgrade eth-account==0.5.9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences