CVE-2024-9880

NameCVE-2024-9880
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pandas (PTS)bullseye1.1.5+dfsg-2vulnerable
bookworm1.5.3+dfsg-2vulnerable
sid, trixie2.2.3+dfsg-8vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pandassource(unstable)(unfixed)

Notes

[bookworm] - pandas <no-dsa> (Minor issue)
https://huntr.com/bounties/a49baae1-4652-4d6c-a179-313c21c41a8d

Search for package or bug name: Reporting problems