Bug 2353639 (CVE-2024-9880)

Summary: CVE-2024-9880 pandas: Command Injection in pandas-dev/pandas
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: adudiak, anpicker, bdettelb, bparees, brking, caswilli, doconnor, haoli, hasun, hkataria, jajackso, jcammara, jeder, jforrest, jfula, jkoehler, jmitchel, jneedle, jowilson, jsamir, jwong, kaycoth, kegrant, kholdawa, koliveir, kshier, lcouzens, lphiri, mabashia, mskarbek, nyancey, omaciel, ometelka, pbraun, ptisnovs, shvarugh, simaishi, smcdonal, stcannon, sthirugn, syedriko, teagle, tfister, thavo, ttakamiy, vkrizan, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in pandas. This vulnerability allows an attacker to execute arbitrary commands on the server via a crafted query in the pandas.DataFrame.query function when using the 'python' engine.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-03-20 11:05:17 UTC
A command injection vulnerability exists in the `pandas.DataFrame.query` function of pandas-dev/pandas versions up to and including v2.2.2. This vulnerability allows an attacker to execute arbitrary commands on the server by crafting a malicious query. The issue arises from the improper validation of user-supplied input in the `query` function when using the 'python' engine, leading to potential remote command execution.