CVE-2024-53305: Whoogle search Whoogle Allows Attackers To Execute Vulnerability
HIGHCVE-2024-53305 is a HIGH whoogle allows attackers to execute vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Whoogle search libraries in the PyPI ecosystem. The issue involves whoogle allows attackers to execute arbitrary code via supplying a crafted search query. Remediation is available by upgrading affected packages to version 0.9.1.
CVE-2024-53305 at a Glance
How to Fix CVE-2024-53305
To remediate this vulnerability, upgrade all affected Whoogle search dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install whoogle-search>=0.9.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show whoogle-search
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-53305, inspect your installed packages using pip:
pip show whoogle-search
Analyze the terminal output to locate any version of Whoogle search in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.1), your application is affected.
Note: The pip show whoogle-search command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Whoogle search, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-53305 Affected Whoogle search Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
whoogle-search
|
PyPI |
< 0.9.1
|
0.9.1
|
References
Frequently Asked Questions
What is CVE-2024-53305?
Which Whoogle search versions are affected?
What version fixes CVE-2024-53305?
Is whoogle-search affected?
What CWE is associated with CVE-2024-53305?
How can I check PyPI dependencies for CVE-2024-53305?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2689-cw26-6cpj",
"modified" : "2025-04-16T20:38:00Z",
"published" : "2025-04-16T18:31:54Z",
"aliases" : [ "CVE-2024-53305" ],
"summary" : "Whoogle allows attackers to execute arbitrary code via supplying a crafted search query",
"details" : "An issue in the component /models/config.py of Whoogle search v0.9.0 allows attackers to execute arbitrary code via supplying a crafted search query.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "whoogle-search"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-53305"
}, {
"type" : "WEB",
"url" : "https://github.com/benbusby/whoogle-search/commit/223f00c3c0533423114f99b30c561278bc0b42ba"
}, {
"type" : "WEB",
"url" : "https://fern89.github.io/posts/whoogle-rce"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/fern89/ca5fe76ad81b4bc363e7341e523a1651"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/benbusby/whoogle-search"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-16T20:38:00Z",
"nvd_published_at" : "2025-04-16T18:16:03Z"
}
}