|
Message-ID: <20210723201414.lnpdaxfnxiremhsp@jwilk.net> Date: Fri, 23 Jul 2021 22:14:14 +0200 From: Jakub Wilk <jwilk@...lk.net> To: <oss-security@...ts.openwall.com> Subject: Re: ipython3 may execute code from the current working directory * Jakub Wilk <jwilk@...lk.net>, 2021-07-22, 13:35: >* Georgi Guninski <gguninski@...il.com>, 2021-07-22, 11:52: >>Summary: under certain circumstances, ipython3 may execute code from >>the current working directory. > >Looks like this might be intentional? Or at least there's an option to >turn off this behavior: > >https://github.com/ipython/ipython/blob/7.25.0/IPython/core/shellapp.py#L219 >https://ipython.readthedocs.io/en/stable/config/options/kernel.html#configtrait-InteractiveShellApp.ignore_cwd On a second thought, --ignore-cwd is a relatively new invention (added in 7.13.0, I think), ... >However, in some Debian packages (at least 5.8.0-1 from Debian >buster), even --ignore-cwd doesn't help, ...so it couldn't have been used in this old version. -- Jakub Wilk
Powered by blists - more mailing lists
Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.