CVE-2022-1930

Source
https://cve.org/CVERecord?id=CVE-2022-1930
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1930.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-1930
Aliases
Published
2022-08-22T18:15:56Z
Modified
2026-08-27T03:49:38Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ReDoS in eth-account encode_structured_data function
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

Database specific
{
    "cna_assigner": "JFROG",
    "cwe_ids": [
        "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1930.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "0.5.9"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/ApeWorX/eth-account

Affected ranges

Type
GIT
Repo
https://github.com/ApeWorX/eth-account
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:ethereum:eth-account:*:*:*:*:*:python:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.5.9"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v0.*
v0.1.0-alpha.2
v0.2.0
v0.2.0-alpha.0
v0.2.1
v0.2.2
v0.2.3
v0.3.0
v0.4.0
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1930.json"