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)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References (5)