Overview
Searchor CLI's Search vulnerable to Arbitrary Code using Eval
Advisory
main.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution.
How to Fix
Upgrade
searchor
to2.4.2
or higher.Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20231212-01459/CVE-2023-43364
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43364
- https://github.com/ArjunSharda/Searchor/commit/16016506f7bf92b0f21f51841d599126d6fcd15b
- https://github.com/ArjunSharda/Searchor/pull/130
- https://github.com/advisories/GHSA-66m2-493m-crh2
- https://github.com/nexis-nexis/Searchor-2.4.0-POC-Exploit-
- https://github.com/nikn0laty/Exploit-for-Searchor-2.4.0-Arbitrary-CMD-Injection
- https://nvd.nist.gov/vuln/detail/CVE-2023-43364
- https://github.com/ArjunSharda/Searchor/security/advisories/GHSA-66m2-493m-crh2
- https://github.com/ArjunSharda/Searchor/pull/130
- https://github.com/ArjunSharda/Searchor/commit/16016506f7bf92b0f21f51841d599126d6fcd15b
- https://github.com/nexis-nexis/Searchor-2.4.0-POC-Exploit-
- https://github.com/nikn0laty/Exploit-for-Searchor-2.4.0-Arbitrary-CMD-Injection
- https://nvd.nist.gov/vuln/detail/CVE-2023-43364
- https://github.com/advisories/GHSA-66m2-493m-crh2
- https://github.com/pypa/advisory-database/tree/main/vulns/searchor/PYSEC-2023-262.yaml
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
