CVE-2024-23346 Affecting pymatgen package, versions <2022.11.7+dfsg1-11+deb12u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-PYMATGEN-6264780
  • published23 Feb 2024
  • disclosed21 Feb 2024

Introduced: 21 Feb 2024

CVE-2024-23346  (opens in a new tab)

How to fix?

Upgrade Debian:12 pymatgen to version 2022.11.7+dfsg1-11+deb12u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pymatgen package and not the pymatgen package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.