{"id":"DEBIAN-CVE-2024-23346","details":"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.","modified":"2026-09-15T09:02:55.773672584Z","published":"2024-02-21T17:15:09.377Z","upstream":["CVE-2024-23346"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-23346"}],"affected":[{"package":{"name":"pymatgen","ecosystem":"Debian:12","purl":"pkg:deb/debian/pymatgen?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2022.11.7+dfsg1-11+deb12u1"}]}],"versions":["2022.11.7+dfsg1-11"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-23346.json"}},{"package":{"name":"pymatgen","ecosystem":"Debian:13","purl":"pkg:deb/debian/pymatgen?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.1.27+dfsg1-6"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-23346.json"}},{"package":{"name":"pymatgen","ecosystem":"Debian:14","purl":"pkg:deb/debian/pymatgen?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2024.1.27+dfsg1-6"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-23346.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}