cve/2022/CVE-2022-42964.md

18 lines
772 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-42964](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42964)
![](https://img.shields.io/static/v1?label=Product&message=pymatgen&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%200%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-1333%20Inefficient%20Regular%20Expression%20Complexity&color=brighgreen)
### 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
### POC
#### Reference
- https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds