Lucene search

K
githubGitHub Advisory DatabaseGHSA-5JQP-885W-XJ32
HistoryNov 10, 2022 - 12:01 p.m.

pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS)

2022-11-1012:01:17
CWE-1333
GitHub Advisory Database
github.com
8
pymatgen
redos
vulnerability
gaussianinput
from_string
software

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

36.8%

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 configurations

Vulners
Node
pymatgenpymatgenRange2022.9.21
VendorProductVersionCPE
pymatgenpymatgen*cpe:2.3:a:pymatgen:pymatgen:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

36.8%