CVE-2024-23346
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2024-23346
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-02-21T16:13:25.498Z
- Last Modified Date
- 2024-02-21T16:13:25.498Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f | x_refsource_CONFIRM |
https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a | x_refsource_MISC |
https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-23346 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23346 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-06-26 07:03:31 | Added to TrackCVE |