Inefficient Regular Expression Complexity Affecting pymatgen package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.07% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-PYMATGEN-3112289
  • published11 Nov 2022
  • disclosed9 Nov 2022

Introduced: 9 Nov 2022

CVE-2022-42964  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 pymatgen.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pymatgen package and not the pymatgen package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the pymatgen PyPI package, when an attacker is able to supply arbitrary input to the GaussianInput.from_string method

CVSS Scores

version 3.1