Vulnerability Details : CVE-2022-42964
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
Vulnerability category: Denial of service
Exploit prediction scoring system (EPSS) score for CVE-2022-42964
Probability of exploitation activity in the next 30 days: 0.08%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 31 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2022-42964
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
2.2
|
3.6
|
JFrog |
CWE ids for CVE-2022-42964
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by:
- nvd@nist.gov (Primary)
- reefs@jfrog.com (Secondary)
References for CVE-2022-42964
-
https://research.jfrog.com/vulnerabilities/pymatgen-redos-xray-257184/
pymatgen ReDoS | XRAY-257184 - JFrog Security ResearchExploit;Third Party Advisory
Products affected by CVE-2022-42964
- cpe:2.3:a:pymatgen:pymatgen:-:*:*:*:*:*:*:*