Advisory

DEBIAN-CVE-2024-23346

Also known as: CVE-2024-23346

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2024-02-21 17:15 UTC
Modified
2026-11-15 11:00 UTC

Affected packages and fixes

pymatgen

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 2022.11.7+dfsg1-11+deb12u1 (ecosystem)

Fixed versions

2022.11.7+dfsg1-11+deb12u1

Fix

  • Fixed version 2022.11.7+dfsg1-11+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pymatgen

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 2024.1.27+dfsg1-6 (ecosystem)

Fixed versions

2024.1.27+dfsg1-6

Fix

  • Fixed version 2024.1.27+dfsg1-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pymatgen

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 2024.1.27+dfsg1-6 (ecosystem)

Fixed versions

2024.1.27+dfsg1-6

Fix

  • Fixed version 2024.1.27+dfsg1-6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences