vendor:
Pymatgen
by:
Mohammed Idrees Banyamer
6.1
CVSS
HIGH
Remote Code Execution (RCE)
94
CWE
Product Name: Pymatgen
Affected Version From: 2024.1
Affected Version To: 2024.1
Patch Exists: NO
Related CWE: CVE-2024-23346
CPE: pymatgen:2024.1
Platforms Tested: Kali Linux 2024.1
2024
Pymatgen 2024.1 – Remote Code Execution (RCE)
The exploit allows an attacker to achieve Remote Code Execution (RCE) on Pymatgen 2024.1 by crafting a malicious CIF file with a reverse shell payload. By triggering the Pymatgen CIF parser to parse this file, an attacker can execute arbitrary commands on the target system.
Mitigation:
To mitigate this vulnerability, users should update to a patched version of Pymatgen that addresses the RCE issue. Additionally, avoid parsing untrusted CIF files from unknown sources.