Skip to content
Fencer Vulns
medium 5.9

CVE-2022-1930 json

ReDoS in eth-account encode_structured_data function

published 2022-08-22 4 y ago modified 2026-07-07 4 mo ago also GHSA-v65g-f3cj-fjp4 , PYSEC-2026-806 , EUVD-2022-6626

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

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

Patch / fix

  • pypi eth-account 0.5.9
  • eth-account eth-account 0.5.9

Exploit prediction

0.94% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • research.jfrog.com https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi eth-account
<0.5.9
0.5.9

Affected products

  • eth-account eth-account

Classification

Weakness
  • CWE-1333 Inefficient Regular Expression Complexity
  • CWE-697 Incorrect Comparison

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.