Skip to content

Commit 0d4321e

Browse files
authored
Merge pull request #228 from American-Institutes-for-Research/HEA-899/Fix-security-vulnerability-on-nbconvert
Ignore security vulnerability on nbconvert and gdal
2 parents 7660694 + 8df08f8 commit 0d4321e

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

docker/app/run_tests.sh

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ fi
5353
# the vulnerable GMLAS driver, potentially rendering the application
5454
# unresponsive. The issue is mitigated by introducing a limit on entity
5555
# expansions and aborting parsing when the limit is exceeded.
56+
# Vulnerability ID: 82915
57+
# Affected spec: <3.12.1
58+
# ADVISORY: Affected versions of the gdal package are vulnerable to
59+
# path traversal due to insufficient path sanitization in multiple drivers.
5660

5761
# Ignore vulnerability found in jinja2 version 3.1.4
5862
# We do not allow any untrusted templates, and so are not affected.
@@ -66,8 +70,24 @@ fi
6670
# shouldn't use untrusted templates without sandboxing.
6771
# CVE-2019-8341
6872

73+
# Vulnerability found in nbconvert version 7.16.6
74+
# Vulnerability ID: 83150
75+
# Affected spec: <=7.16.6
76+
# ADVISORY: Affected versions of the nbconvert package are
77+
# vulnerable to Uncontrolled Search Path Element due to resolving the
78+
# inkscape executable on Windows using a search order that includes the
79+
# current working directory. In nbconvert/preprocessors/svg2pdf.py, the PDF
80+
# conversion flow for notebooks with SVG outputs locates and executes
81+
# inkscape without a fully qualified path, allowing a local inkscape.bat to
82+
# be selected and run.
83+
# NOTE: jupyterlab==4.4.8 uses nbconvert==7.16.6 and there is currently no patched version
84+
# of nbconvert for CVE-2025-53000.
85+
# The vulnerability was only published on December 17-18, 2025, and version 7.16.6 remains
86+
# the latest release.
87+
# Will ignore this and update once we got a fix
88+
6989
echo Package Vulnerabilities:
70-
pip freeze | safety check --stdin --full-report -i 62283 -i 70612 -i 74054
90+
pip freeze | safety check --stdin --full-report -i 62283 -i 70612 -i 74054 -i 82915 -i 83150
7191
SAFETY_RESULT=$?
7292

7393
# Suppress SAFETY_RESULT unless CHECK_SAFETY is set

0 commit comments

Comments
 (0)