CVE-2024-23346

CRITICAL

Materialsvirtuallab Pymatgen < 2024.2.20 - Command Injection

Title source: rule

Description

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.

Exploits (6)

exploitdb WORKING POC
by Mohammed Idrees Banyamer · pythonremotepython
https://www.exploit-db.com/exploits/52205
nomisec WORKING POC 4 stars
by DAVIDAROCA27 · poc
https://github.com/DAVIDAROCA27/CVE-2024-23346-exploit
nomisec WORKING POC 4 stars
by 9carlo6 · poc
https://github.com/9carlo6/CVE-2024-23346
nomisec WORKING POC 1 stars
by Sanity-Archive · poc
https://github.com/Sanity-Archive/CVE-2024-23346
nomisec WORKING POC
by MAWK0235 · poc
https://github.com/MAWK0235/CVE-2024-23346
nomisec WORKING POC
by szyth · poc
https://github.com/szyth/CVE-2024-23346-rust-exploit

Scores

CVSS v3 9.3
EPSS 0.4847
EPSS Percentile 97.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Details

CWE
CWE-77
Status published
Products (2)
materialsvirtuallab/pymatgen < 2024.2.20
pypi/pymatgen 0 - 2024.2.20PyPI
Published Feb 21, 2024
Tracked Since Feb 18, 2026