Skip to content

Commit 02fa3ab

Browse files
[anaconda]-GHSA-vvfj-2jqx-52jm: jupyterlab and GHSA-94vc-p8w7-5p49: imagecodecs - security vulnerability (#1648)
* [anaconda]-GHSA-vvfj-2jqx-52jm: jupyterlab and GHSA-94vc-p8w7-5p49: imagecodecs - security vulnerability * protobuf pin to required version
1 parent 92a034a commit 02fa3ab

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

src/anaconda/.devcontainer/apply_security_patches.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# werkzeug - [GHSA-f9vj-2wh5-fj8j]
55

66
vulnerable_packages=( "mistune=3.0.1" "aiohttp=3.10.11" "cryptography=44.0.1" "h11=0.16.0" "jinja2=3.1.6" "jupyter_core=5.8.1" "protobuf=5.29.5" "requests=2.32.4" "setuptools=78.1.1" "transformers=4.53.0" "urllib3=2.5.0" "Werkzeug=3.0.6" "jupyter-lsp=2.2.2" "scrapy=2.11.2" \
7-
"zipp=3.19.1" "tornado=6.4.2")
7+
"zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "imagecodecs=2023.9.18")
88

99
# Define the number of rows (based on the length of vulnerable_packages)
1010
rows=${#vulnerable_packages[@]}
@@ -26,7 +26,7 @@ done
2626

2727
# Add an array for packages that should always pin to the provided version,
2828
# even if higher version is available in conda channel
29-
pin_to_required_version=("jupyter_core" "cryptography")
29+
pin_to_required_version=("jupyter_core" "cryptography" "protobuf")
3030
# Function to check if a package is in the pin_to_required_version array
3131
function is_pin_to_required_version() {
3232
local pkg="$1"

src/anaconda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can decide how often you want updates by referencing a [semantic version](ht
3030

3131
- `mcr.microsoft.com/devcontainers/anaconda:1-3`
3232
- `mcr.microsoft.com/devcontainers/anaconda:1.3-3`
33-
- `mcr.microsoft.com/devcontainers/anaconda:1.3.0-3`
33+
- `mcr.microsoft.com/devcontainers/anaconda:1.3.2-3`
3434

3535
See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/anaconda/tags/list).
3636

src/anaconda/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.3.1",
2+
"version": "1.3.2",
33
"build": {
44
"latest": true,
55
"rootDistro": "debian",

src/anaconda/test-project/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ checkPythonPackageVersion "tornado" "6.4.2"
4949
checkPythonPackageVersion "jupyter_server" "2.14.1"
5050
checkPythonPackageVersion "pyarrow" "14.0.1"
5151
checkPythonPackageVersion "pillow" "10.3.0"
52-
checkPythonPackageVersion "jupyterlab" "4.2.5"
52+
checkPythonPackageVersion "jupyterlab" "4.4.8"
5353
checkPythonPackageVersion "notebook" "7.2.2"
5454
checkPythonPackageVersion "gitpython" "3.1.41"
5555
checkPythonPackageVersion "jupyter-lsp" "2.2.2"
@@ -59,6 +59,7 @@ checkPythonPackageVersion "scrapy" "2.11.2"
5959
checkPythonPackageVersion "requests" "2.32.4"
6060
checkPythonPackageVersion "scikit-learn" "1.5.0"
6161
checkPythonPackageVersion "zipp" "3.19.1"
62+
checkPythonPackageVersion "imagecodecs" "2023.9.18"
6263

6364
checkCondaPackageVersion "pyopenssl" "24.2.1"
6465
checkCondaPackageVersion "requests" "2.32.4"

0 commit comments

Comments
 (0)