GitHub Advisoryadvisory · PyPI

GHSA-5jqp-885w-xj32 pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)

MEDIUM Published 2022-11-10 Modified 2023-08-31 Official page ↗
Aliases
CVE-2022-42964
Ecosystem
PyPI
Packages
pymatgen
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Reviewed
2022-11-10

Affected packages

• PyPI pymatgen: <= 2022.9.21 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-42964 An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the pymatgen PyPI package, when an attacker is able to… vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References