NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, Prover9Parent.config_prover9 and Mace accept a relative binary_location and pass it to find_binary as path_to_bin, disabling the bare-name absolute-path guard. A local attacker who can plant prover9 or mace4 in the resolved working directory can cause subprocess.Popen to execute that binary with the invoking user's privileges. This issue is fixed in version 3.10.4.
https://github.com/nltk/nltk/security/advisories/GHSA-cc5r-64rf-75hg
https://github.com/nltk/nltk/releases/tag/v3.10.4
https://github.com/nltk/nltk/pull/3887
https://github.com/nltk/nltk/commit/f0a75c66506977c0f683281c0f5275dbfbaee3b2
https://github.com/nltk/nltk/commit/d4f0309bb8649f77e88c2c435e5fa31e6c5ab225
https://github.com/nltk/nltk/commit/992884a02f6fb5180a992ed12d20103b4b5cb8a0
https://github.com/nltk/nltk/commit/4ca190b744ec72500c4c8a8259aece7792a46877