PT-2024-19825

CVE-2024-23346

·

Published

2024-02-21

·

Updated

2025-03-08

Description by

CVSS 3.1
9.3
Critical
MetricsAV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions pymatgen versions prior to 2024.2.20
Description A critical security issue exists in the JonesFaithfulTransformation.from transformation str() method within the pymatgen library. This method insecurely utilizes eval() for processing input, enabling execution of arbitrary code when parsing untrusted input. The vulnerability can be exploited when parsing a maliciously-created CIF file.
Recommendations For pymatgen versions prior to 2024.2.20, update to version 2024.2.20 to resolve the issue. As a temporary workaround, consider avoiding the use of the JonesFaithfulTransformation.from transformation str() method until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-VGV8-5CPJ-QJ2F
DSA-5763-1
PYSEC-2024-226
Found an issue in the description? Have something to add? Feel free to write us 👾