{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-1930","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","descriptionLong":"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","published":"2022-08-22T18:15:56.000Z","updated":"2026-10-28T02:30:52.317966835Z","reserved":"2022-05-28T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"JFROG","metric":{"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","rating":"medium","source":"JFROG"},"metrics":[{"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","rating":"medium","source":"JFROG"},{"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","rating":"medium","source":"jfrog.com"},{"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","rating":"high","source":"NVD"},{"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","rating":"medium","source":"OSV"},{"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["eth-account"],"affectedProducts":[{"vendor":"eth-account","product":"eth-account","defaultStatus":null,"versions":[{"lessThan":"0.5.9","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"eth-account","purl":"pkg:pypi/eth-account","ranges":["<0.5.9"],"fixed":["0.5.9"],"advisory":"GHSA-v65g-f3cj-fjp4"}],"cwes":["CWE-1333","CWE-697"],"aliases":["GHSA-v65g-f3cj-fjp4","PYSEC-2026-806"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1930.json","tags":["advisory"]},{"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/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"]},{"url":"https://github.com/advisories/GHSA-v65g-f3cj-fjp4","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00939,"epssPercentile":0.61605,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-1930","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1930","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-1930","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v65g-f3cj-fjp4","ok":true,"note":"GHSA-v65g-f3cj-fjp4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-1930","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}