pymatgen@2024.9.17 vulnerabilities

Python Materials Genomics is a robust materials analysis code that defines core object representations for structures

Direct Vulnerabilities

Known vulnerabilities in the pymatgen package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

pymatgen is a Python Materials Genomics is a robust materials analysis code that defines core object representations for structures and molecules with support for many electronic structure codes. It is currently the core analysis code powering the Materials Project (https://materialsproject.org).

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the GaussianInput.from_string method, due to the usage of insecure regex.

How to fix Regular Expression Denial of Service (ReDoS)?

There is no fixed version for pymatgen.

[0,)