Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. eth-account
  4. ›
  5. CVE-2022-1930

CVE-2022-1930: Incorrect Comparison

August 22, 2022 (updated July 24, 2023)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2022-1930
  • research.jfrog.com/vulnerabilities/eth-account-redos-xray-248681/

Code Behaviors & Features

Detect and mitigate CVE-2022-1930 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.5.9

Fixed versions

  • 0.5.9

Solution

Upgrade to version 0.5.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/eth-account/CVE-2022-1930.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:42 +0000.