CVE-2024-23346

Pymatgen (Python Materials Genomics) is an open-source Python library for materials analysis. A critical security vulnerability exists in the `JonesFaithfulTransformation.from_transformation_str()` method within the `pymatgen` library prior to version 2024.2.20. This method insecurely utilizes `eval()` for processing input, enabling execution of arbitrary code when parsing untrusted input. Version 2024.2.20 fixes this issue.
Command Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.3 CRITICAL
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub_MCNA
9.4 CRITICAL
LOCAL
LOW
NONE
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 96%
VendorProductVersion
materialsvirtuallabpymatgen
𝑥
< 2024.2.20
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
pymatgen
bookworm
2022.11.7+dfsg1-11+deb12u1
fixed
bookworm (security)
2022.11.7+dfsg1-11+deb12u1
fixed
sid
2025.2.18+dfsg1-4
fixed
trixie
2025.2.18+dfsg1-4
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
pymatgen
plucky
not-affected
oracular
not-affected
noble
dne
mantic
ignored
jammy
needed
focal
dne
bionic
dne
xenial
dne
trusty
dne