File tree Expand file tree Collapse file tree 3 files changed +4
-17
lines changed
local-features/patch-python Expand file tree Collapse file tree 3 files changed +4
-17
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "./local-features/nvs" : " latest" ,
2525 "ghcr.io/devcontainers/features/python:1" : {
26- "version" : " 3.10.13 " ,
27- "additionalVersions" : " 3.9.18 " ,
26+ "version" : " 3.12.1 " ,
27+ "additionalVersions" : " 3.11.9 " ,
2828 "installJupyterlab" : " true" ,
2929 "configureJupyterlabAllowOrigin" : " *" ,
3030 "useOryxIfAvailable" : " false"
3939 "version" : " latest"
4040 },
4141 "ghcr.io/devcontainers/features/ruby:1" : {
42- "version" : " 3.2 " ,
43- "additionalVersions" : " 3.1 "
42+ "version" : " 3.3.4 " ,
43+ "additionalVersions" : " 3.3.2 "
4444 },
4545 "ghcr.io/devcontainers/features/java:1" : {
4646 "version" : " 21" ,
Original file line number Diff line number Diff line change @@ -38,13 +38,3 @@ update_package() {
3838 sudo_if " $PYTHON_PATH -m pip install --upgrade --no-cache-dir $PACKAGE ==$VERSION "
3939 sudo_if " $PYTHON_PATH -m pip show --no-python-version-warning $PACKAGE "
4040}
41-
42- # Temporary: Upgrade python packages due to security vulnerabilities
43- # They are installed by the base image (python) which does not have the patch.
44-
45- # https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897
46- update_package /usr/local/python/3.9.* /bin/python setuptools 65.5.1
47- update_package /usr/local/python/3.10.* /bin/python setuptools 68.2.2
48-
49- # https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45803
50- update_package /usr/local/python/3.10.* /bin/python urllib3 2.0.7
Original file line number Diff line number Diff line change @@ -190,9 +190,6 @@ checkPythonPackageVersion "python" "setuptools" "65.5.1"
190190checkPythonPackageVersion " python" " requests" " 2.31.0"
191191checkPythonPackageVersion " python" " urllib3" " 2.0.7"
192192
193- # # Python 3.9
194- checkPythonPackageVersion " /usr/local/python/3.9.*/bin/python" " setuptools" " 65.5.1"
195-
196193# # Conda Python
197194checkCondaPackageVersion " requests" " 2.31.0"
198195checkCondaPackageVersion " cryptography" " 41.0.4"
You can’t perform that action at this time.
0 commit comments