{"id":"CVE-2023-43364","aliases":["CVE-2023-43364","GHSA-66m2-493m-crh2","PYSEC-2023-262"],"related":[],"kind":"vulnerability","state":"published","title":"Searchor CLI's Search vulnerable to Arbitrary Code using Eval","summary":"main.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"main.py in Searchor before 2.4.2 uses eval on CLI input, which may cause unexpected code execution.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"ghsa"},{"lang":"es","text":"main.py en Searchor anterior a 2.4.2 usa eval en la entrada CLI, lo que puede provocar la ejecución inesperada de código.","source":"nvd"}],"published":"2023-09-25T18:37:51.000Z","modified":"2026-07-08T06:28:03.321Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.2"}],"ecosystem":"PyPI","package":"searchor","purl":"pkg:pypi/searchor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.4.2"}],"vendor":"arjunsharda","product":"searchor","cpe":"cpe:2.3:a:arjunsharda:searchor:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"16016506f7bf92b0f21f51841d599126d6fcd15b"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4.2"}],"ecosystem":"PyPI","package":"searchor","purl":"pkg:pypi/searchor","repo":"https://github.com/ArjunSharda/Searchor","source":"pysec"}],"references":[{"url":"https://github.com/ArjunSharda/Searchor/pull/130","tags":["fix","issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nexis-nexis/Searchor-2.4.0-POC-Exploit-","tags":["evidence","exploit","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/nikn0laty/Exploit-for-Searchor-2.4.0-Arbitrary-CMD-Injection","tags":["evidence","exploit","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/advisories/GHSA-66m2-493m-crh2","tags":["advisory","vendor-advisory","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ArjunSharda/Searchor/commit/16016506f7bf92b0f21f51841d599126d6fcd15b","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ArjunSharda/Searchor/security/advisories/GHSA-66m2-493m-crh2","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43364","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ArjunSharda/Searchor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/searchor/PYSEC-2023-262.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-10-09T13:28:56.222Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-43364","url":"https://www.cve.org/CVERecord?id=CVE-2023-43364","licence":"CVE Terms of Use","modified":"2024-10-09T13:30:12.973Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-66m2-493m-crh2","url":"https://github.com/advisories/GHSA-66m2-493m-crh2","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:03.321Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-43364","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43364","licence":"Public domain","modified":"2026-06-17T06:25:30.067Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-262","url":"https://osv.dev/vulnerability/PYSEC-2023-262","licence":"CC-BY-4.0","modified":"2024-10-09T19:44:29.656Z"}],"updatedAt":"2026-11-25T22:58:31.259Z","epss":{"score":0.02885,"percentile":0.87266,"date":"2026-12-02T12:00:21.000Z"}}