CVE-2022-42964
pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)
7.5
HIGH
CVSS 3.1
EPSS 0.82%
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
How to fix CVE-2022-42964
To remediate CVE-2022-42964, upgrade the affected package to a fixed version below.
- Debian/pymatgen—upgrade to 2022.11.7+dfsg1-11+deb12u2 or later
Is CVE-2022-42964 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2022.11.7+dfsg1-11+deb12u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |