File tree Expand file tree Collapse file tree 3 files changed +21
-25
lines changed Expand file tree Collapse file tree 3 files changed +21
-25
lines changed Original file line number Diff line number Diff line change 6363version_info = release .version_info
6464# list of CVEs that should have been patched in this release.
6565# this is informational and should not be relied upon.
66- __patched_cves__ = {"CVE-2022-21699" }
66+ __patched_cves__ = {"CVE-2022-21699" , "CVE-2023-24816" }
6767
6868
6969def embed_kernel (module = None , local_ns = None , ** kwargs ):
Original file line number Diff line number Diff line change @@ -91,30 +91,14 @@ def _restore_term_title_xterm():
9191 _set_term_title = _set_term_title_xterm
9292 _restore_term_title = _restore_term_title_xterm
9393elif sys .platform == 'win32' :
94- try :
95- import ctypes
96-
97- SetConsoleTitleW = ctypes .windll .kernel32 .SetConsoleTitleW
98- SetConsoleTitleW .argtypes = [ctypes .c_wchar_p ]
99-
100- def _set_term_title (title ):
101- """Set terminal title using ctypes to access the Win32 APIs."""
102- SetConsoleTitleW (title )
103- except ImportError :
104- def _set_term_title (title ):
105- """Set terminal title using the 'title' command."""
106- global ignore_termtitle
107-
108- try :
109- # Cannot be on network share when issuing system commands
110- curr = os .getcwd ()
111- os .chdir ("C:" )
112- ret = os .system ("title " + title )
113- finally :
114- os .chdir (curr )
115- if ret :
116- # non-zero return code signals error, don't try again
117- ignore_termtitle = True
94+ import ctypes
95+
96+ SetConsoleTitleW = ctypes .windll .kernel32 .SetConsoleTitleW
97+ SetConsoleTitleW .argtypes = [ctypes .c_wchar_p ]
98+
99+ def _set_term_title (title ):
100+ """Set terminal title using ctypes to access the Win32 APIs."""
101+ SetConsoleTitleW (title )
118102
119103
120104def set_term_title (title ):
Original file line number Diff line number Diff line change 22 8.x Series
33============
44
5+
6+ IPython 8.9.1
7+ -------------
8+
9+ Out of schedule release of IPython with minor fixes to patch a potential CVE-2023-24816.
10+ This is a really low severity CVE that you most likely are not affected by unless:
11+
12+ - You are on windows.
13+ - You have a custom build of Python without ``_ctypes ``
14+ - You cd or start IPython or Jupyter in untrusted directory which names may be valid shell commands.
15+
16+
517.. _version 8.9.0 :
618
719IPython 8.9.0
You can’t perform that action at this time.
0 commit comments