{"id":"CVE-2022-1930","published":"2022-08-22T18:15:56Z","modified":"2024-08-03T00:17:01Z","title":"ReDoS in eth-account encode_structured_data function","vendor":"eth-account","product":"eth-account","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00939,"percentile":0.61775,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":12.36},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"eth-account","affectedVersions":[{"vendor":"eth-account","product":"eth-account","versions":["< 0.5.9"]}],"affected":[{"ecosystem":"PyPI","package":"eth-account","vulnerableRanges":["<0.5.9"],"patched":["0.5.9"],"from":["GHSA-v65g-f3cj-fjp4","PYSEC-2026-806"],"provenance":"source"}],"summary":{"text":"The eth-account Python package contains a regular expression complexity flaw (CWE: Inefficient Regular Expression Complexity) in its encode_structured_data method. An attacker who can supply arbitrary input to that method can trigger exponential backtracking, causing a denial of service, and the attack requires no privileges or user interaction over the network but depends on the attacker being able to reach the function with crafted input.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:26:31Z"},"euvd":{"id":"EUVD-2022-6626","exploited":false,"provenance":"source"}}