PyPI (Python)Worst: Critical2 advisories

pymatgen: known vulnerabilities

pymatgen has 2 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 moderate. The most recent was published 2024-02-21. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pymatgen versions running across your servers, containers and images, and ranks what to patch first.

How to fix pymatgen

Upgrade pymatgen to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade pymatgen (pin pymatgen>=2024.2.20)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

pymatgen vulnerable to arbitrary code execution when parsing a maliciously crafted JonesFaithfulTransformation transformation_string Critical 9.3 CWE-77 — Affected: before 2024.2.20. Fixed in 2024.2.20. Published 2024-02-21. GHSA-vgv8-5cpj-qj2f · CVE-2024-23346
pymatgen is vulnerable to Regular Expression Denial of Service (ReDoS) Moderate 5.9 CWE-1333 — Affected: up to and including 2022.9.21. No fixed release is listed. Published 2022-11-09. GHSA-5jqp-885w-xj32 · CVE-2022-42964

Find pymatgen across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.