CVE-2022-42964

Publication date 9 November 2022

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

5.9 · Medium

Score breakdown

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

Read the notes from the security team

Status

Package Ubuntu Release Status
pymatgen 25.04 plucky
Not affected
24.10 oracular
Not affected
24.04 LTS noble Not in release
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
22.04 LTS jammy
Vulnerable
20.04 LTS focal Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Ignored end of standard support
14.04 LTS trusty Ignored end of standard support

Notes


sbeattie

as of 2024-07-17, proposed fix only incorporated in debian, upstream bug report is still open.

Severity score breakdown

Parameter Value
Base score 5.9 · Medium
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H