9.3
CRITICAL
CVE-2024-23346
Pymatgen Remote Code Execution
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.

INFO

Published Date :

Feb. 21, 2024, 5:15 p.m.

Last Modified :

Feb. 5, 2025, 10:10 p.m.

Remotely Exploitable :

No

Impact Score :

6.0

Exploitability Score :

2.5
Public PoC/Exploit Available at Github

CVE-2024-23346 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-23346 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pymatgen pymatgen
1 Materialsvirtuallab pymatgen

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Walkthrough of HackTheBox Retired Box called Chemistry

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : March 28, 2025, 12:18 a.m. This repo has been linked 2 different CVEs too.

A Rust exploit for CVE-2024-23346 that functions as a "terminal" (tested on chemistry.htb)

Rust

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 25, 2025, 2:52 p.m. This repo has been linked 1 different CVEs too.

PoC of the vulnerability CVE-2024-23346

Python

Updated: 1 week, 3 days ago
1 stars 0 fork 0 watcher
Born at : Feb. 20, 2025, 12:23 p.m. This repo has been linked 1 different CVEs too.

This is an exploit for CVE-2024-23346 that acts as a "terminal" (tested on chemistry.htb)

Python

Updated: 4 months, 2 weeks ago
0 stars 1 fork 1 watcher
Born at : Dec. 9, 2024, 10:34 p.m. This repo has been linked 1 different CVEs too.

This repository contains a Crystallographic Information File (CIF) intended for use on the "Chemistry" machine on Hack The Box (HTB).

Updated: 1 month, 1 week ago
4 stars 1 fork 1 watcher
Born at : Nov. 5, 2024, 2:27 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 month, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Nov. 3, 2024, 2:03 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 4 months, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 6, 2024, 2:37 a.m. This repo has been linked 9 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 days, 7 hours ago
6873 stars 1158 fork 1158 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 848 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-23346 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-23346 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Feb. 05, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CWE NIST CWE-77
    Added CPE Configuration OR *cpe:2.3:a:materialsvirtuallab:pymatgen:*:*:*:*:*:*:*:* versions up to (excluding) 2024.2.20
    Changed Reference Type https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 No Types Assigned https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 Broken Link
    Changed Reference Type https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 No Types Assigned https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 Broken Link
    Changed Reference Type https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a No Types Assigned https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a Patch
    Changed Reference Type https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a No Types Assigned https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a Patch
    Changed Reference Type https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f No Types Assigned https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f Exploit, Vendor Advisory
    Changed Reference Type https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f No Types Assigned https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f Exploit, Vendor Advisory
    Changed Reference Type https://www.vicarius.io/vsociety/posts/critical-security-flaw-in-pymatgen-library-cve-2024-23346 No Types Assigned https://www.vicarius.io/vsociety/posts/critical-security-flaw-in-pymatgen-library-cve-2024-23346 Exploit, Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108
    Added Reference https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a
    Added Reference https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f
    Added Reference https://www.vicarius.io/vsociety/posts/critical-security-flaw-in-pymatgen-library-cve-2024-23346
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Received by [email protected]

    Feb. 21, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f [No types assigned]
    Added Reference GitHub, Inc. https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a [No types assigned]
    Added Reference GitHub, Inc. https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108 [No types assigned]
    Added CWE GitHub, Inc. CWE-77
    Added CVSS V3.1 GitHub, Inc. AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-23346 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 29, 2025 15:31