{"id":"CVE-2022-1930","aliases":["EUVD-2022-6626","GHSA-v65g-f3cj-fjp4","PYSEC-2026-806"],"status":"published","title":"ReDoS in eth-account encode_structured_data function","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","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00939,"percentile":0.61166,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333","CWE-697"],"published":"2022-08-22T18:15:56Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"PyPI","package":"eth-account","fixed_in":["0.5.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"eth-account","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.9"}]}]},{"source":"osv","ecosystem":"PyPI","package":"eth-account","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.9"}]}],"versions":["0.1.0a1","0.1.0a2","0.2.0","0.2.0a0","0.2.1","0.2.2","0.2.3","0.3.0","0.4.0","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8"]},{"source":"osv","ecosystem":"PyPI","package":"eth-account","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.9"}]}],"versions":["0.1.0a1","0.1.0a2","0.2.0","0.2.0a0","0.2.1","0.2.2","0.2.3","0.3.0","0.4.0","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8"]}],"products":[{"vendor":"eth-account","product":"eth-account"},{"vendor":"ethereum","product":"eth-account"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1930","tags":["advisory"]},{"url":"https://github.com/ethereum/eth-account/commit/70f89be700df0d5f08ef696252c88741f8414060","tags":["web"]},{"url":"https://github.com/advisories/GHSA-v65g-f3cj-fjp4","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1930.json","tags":["advisory"]},{"url":"https://github.com/ethereum/eth-account","tags":["package"]},{"url":"https://research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681","tags":["web"]},{"url":"https://pypi.org/project/eth-account","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-1930","title":"ReDoS in eth-account encode_structured_data function","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","status":"published","published":"2022-08-22T18:15:56Z","modified":"2024-08-03T00:17:01.026Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:34:38.581997Z"}],"euvd":[{"id":"EUVD-2022-6626","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","status":"published","published":"2022-08-22T18:15:56Z","modified":"2024-08-03T00:17:01Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T03:25:59.967142Z"}],"ghsa":[{"id":"GHSA-v65g-f3cj-fjp4","title":"Regular expression denial of service in eth-account","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","status":"published","published":"2022-08-23T00:00:13Z","modified":"2023-01-28T05:01:30Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-697","CWE-1333"],"updated_at":"2026-11-02T14:36:23.433782Z"}],"nvd":[{"id":"CVE-2022-1930","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","status":"published","published":"2022-08-22T19:15:09.273Z","modified":"2026-06-17T04:23:22.5Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:07:25.242752Z"}],"osv":[{"id":"CVE-2022-1930","title":"ReDoS in eth-account encode_structured_data function","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","status":"published","published":"2022-08-22T18:15:56Z","modified":"2026-10-28T02:30:52.317966835Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:44:23.655778Z"},{"id":"GHSA-v65g-f3cj-fjp4","title":"Regular expression denial of service in eth-account","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","status":"published","published":"2022-08-23T00:00:13Z","modified":"2026-07-07T11:56:45.678804418Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-1333","CWE-697"],"updated_at":"2026-11-02T15:46:56.981655Z"},{"id":"PYSEC-2026-806","title":"Regular expression denial of service in eth-account","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","status":"published","published":"2026-07-06T08:03:32.122936Z","modified":"2026-07-07T11:45:45.530149241Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:58.117212Z"}]}}
