{"id":"GHSA-66m2-493m-crh2","summary":"Searchor CLI's Search vulnerable to Arbitrary Code using Eval","details":" An issue in Arjun Sharda's Searchor before version v.2.4.2 allows an attacker to\n execute arbitrary code via a crafted script to the eval() function in Searchor's src/searchor/main.py file, affecting the search feature in Searchor's CLI (Command Line Interface).\n\n### Impact\nVersions equal to, or below 2.4.1 are affected.\n\n### Patches\nVersions above, or equal to 2.4.2 have patched the vulnerability.\n\n### References\nhttps://github.com/nikn0laty/Exploit-for-Searchor-2.4.0-Arbitrary-CMD-Injection\nhttps://github.com/nexis-nexis/Searchor-2.4.0-POC-Exploit-\nhttps://github.com/jonnyzar/POC-Searchor-2.4.2\nhttps://github.com/ArjunSharda/Searchor/pull/130","aliases":["CVE-2023-43364","PYSEC-2023-262"],"modified":"2026-07-08T06:28:03.321528855Z","published":"2023-09-25T18:37:51Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-09-25T18:37:51Z","nvd_published_at":"2023-12-12T18:15:22Z","cwe_ids":["CWE-74","CWE-94"]},"references":[{"type":"WEB","url":"https://github.com/ArjunSharda/Searchor/security/advisories/GHSA-66m2-493m-crh2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43364"},{"type":"WEB","url":"https://github.com/ArjunSharda/Searchor/pull/130"},{"type":"WEB","url":"https://github.com/ArjunSharda/Searchor/commit/16016506f7bf92b0f21f51841d599126d6fcd15b"},{"type":"PACKAGE","url":"https://github.com/ArjunSharda/Searchor"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-66m2-493m-crh2"},{"type":"WEB","url":"https://github.com/nexis-nexis/Searchor-2.4.0-POC-Exploit-"},{"type":"WEB","url":"https://github.com/nikn0laty/Exploit-for-Searchor-2.4.0-Arbitrary-CMD-Injection"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/searchor/PYSEC-2023-262.yaml"}],"affected":[{"package":{"name":"searchor","ecosystem":"PyPI","purl":"pkg:pypi/searchor"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2"}]}],"versions":["1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.2.0","1.3.0","1.4.0","2.0.0","2.0.1","2.0.2","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.2.0","2.2.1","2.2.2","2.2.3","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.4.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-66m2-493m-crh2/GHSA-66m2-493m-crh2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}