2024-01-15 16:00:40 +00:00
{
2024-02-21 17:00:41 +00:00
"data_version" : "4.0" ,
2024-01-15 16:00:40 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-23346" ,
2024-02-21 17:00:41 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
"STATE" : "PUBLIC"
2024-01-15 16:00:40 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-02-21 17:00:41 +00:00
"value" : "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."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')" ,
"cweId" : "CWE-77"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "materialsproject" ,
"product" : {
"product_data" : [
{
"product_name" : "pymatgen" ,
"version" : {
"version_data" : [
{
"version_affected" : "=" ,
"version_value" : "< 2024.2.20"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f" ,
"refsource" : "MISC" ,
"name" : "https://github.com/materialsproject/pymatgen/security/advisories/GHSA-vgv8-5cpj-qj2f"
} ,
{
"url" : "https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a" ,
"refsource" : "MISC" ,
"name" : "https://github.com/materialsproject/pymatgen/commit/c231cbd3d5147ee920a37b6ee9dd236b376bcf5a"
} ,
{
"url" : "https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108" ,
"refsource" : "MISC" ,
"name" : "https://github.com/materialsproject/pymatgen/blob/master/pymatgen/symmetry/settings.py#L97C1-L111C108"
}
]
} ,
"source" : {
"advisory" : "GHSA-vgv8-5cpj-qj2f" ,
"discovery" : "UNKNOWN"
} ,
"impact" : {
"cvss" : [
{
"attackComplexity" : "LOW" ,
"attackVector" : "LOCAL" ,
"availabilityImpact" : "HIGH" ,
"baseScore" : 9.4 ,
"baseSeverity" : "CRITICAL" ,
"confidentialityImpact" : "HIGH" ,
"integrityImpact" : "HIGH" ,
"privilegesRequired" : "NONE" ,
"scope" : "CHANGED" ,
"userInteraction" : "NONE" ,
"vectorString" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H" ,
"version" : "3.1"
2024-01-15 16:00:40 +00:00
}
]
}
}