~ / search / GHSA-5jqp-885w-xj32

GHSA-5jqp-885w-xj32

pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-42964

Packages

EcosystemPackageAffectedFixed in
PyPI pymatgen <= 2022.9.21 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.