medium5.9
CVE-2022-42964
pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pymatgen | <= 2022.9.21 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Materialsvirtuallab | Pymatgen | All versions |