File tree 3 files changed +16
-2
lines changed
he-samples/examples/logistic-regression/datasets
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ RUN apt update && \
46
46
man \
47
47
--no-install-recommends tzdata \
48
48
patchelf \
49
- python3-pip \
49
+ # Workaround for CVE-2023-5752 will install upstream pip as user
50
+ # python3-pip \
50
51
software-properties-common \
51
52
sudo \
52
53
unzip \
Original file line number Diff line number Diff line change @@ -26,6 +26,19 @@ RUN chown -R $UNAME:$UNAME $HOME/he-toolkit
26
26
# Switch user to $UNAME
27
27
USER $UNAME
28
28
29
+ ###################################################
30
+ # CVE-2023-5752
31
+ # Install upstream pip (version >=23.3.1) as user
32
+ RUN mkdir -p $HOME/pip-install-package \
33
+ $HOME/.local/bin \
34
+ $HOME/.local/lib
35
+ WORKDIR $HOME/pip-install-package
36
+ RUN wget https://bootstrap.pypa.io/get-pip.py && \
37
+ python get-pip.py && \
38
+ source $HOME/.profile && \
39
+ pip install pip --upgrade
40
+ ###################################################
41
+
29
42
# Change directories to $HOME/Intel-HE-Toolkit
30
43
WORKDIR $HOME/he-toolkit
31
44
Original file line number Diff line number Diff line change 1
- pip ~= 22.0.0
1
+ pip ~= 23.3.1
2
2
numpy ~= 1.22.0
3
3
urllib3 ~= 1.26.6
4
4
scikit-learn ~= 1.1.1
You can’t perform that action at this time.
0 commit comments