CVE-2022-42964
MEDIUM5.9EPSS 0.22%pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)
Published: 11/10/2022Modified: 2/21/2024
Also known as:GHSA-5jqp-885w-xj32
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.
Affected packages (2)
- Debian/pymatgenfrom 0
- PyPI/pymatgenfrom 0, <= 2022.9.21
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-42964
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-42964
- PATCHhttps://github.com/materialsproject/pymatgen
- WEBhttps://github.com/materialsproject/pymatgen/issues/2755
- WEBhttps://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184