pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)
Moderate severity
GitHub Reviewed
Published
Nov 10, 2022
to the GitHub Advisory Database
•
Updated Aug 31, 2023
Description
Published by the National Vulnerability Database
Nov 9, 2022
Published to the GitHub Advisory Database
Nov 10, 2022
Reviewed
Nov 10, 2022
Last updated
Aug 31, 2023
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