Skip to content

Commit

Permalink
Fixing latest Docker image vulnerabilities
Browse files Browse the repository at this point in the history
Found additional vulnerabilities after recently fixing previous ones.

Two HIGH level issues found:
- urllib3 - Python package's old versions found in directories. Newer version exists as well. Hence cleaning up older versions.

- libc6
- Buffer overflow issue in a system library.
- No remediation suggested by AWS Inspector.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Oct 13, 2023
1 parent b1c8f1d commit 4d5d0eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .docker/setup_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ rm -rf /root/miniconda-23.1.0/pkgs/wheel-0.37.1-pyhd3eb1b0_0
rm -rf /root/miniconda-23.5.2/pkgs/cryptography-39.0.1-py39h9ce1e76_2
rm -rf /root/miniconda-23.5.2/pkgs/certifi-2023.5.7-py39h06a4308_0
rm -rf /root/miniconda-23.5.2/pkgs/conda-23.5.2-py39h06a4308_0/lib/python3.9/site-packages/tests/
rm -rf /root/miniconda-23.5.2/pkgs/urllib3-1.26.16-py39h06a4308_0
rm -rf /root/miniconda-23.5.2/pkgs/urllib3-1.26.17-pyhd8ed1ab_0
rm -rf /root/miniconda-23.5.2/envs/emission/lib/python3.9/site-packages/urllib3-1.26.17.dist-info

# Clean up the conda install
conda clean -t
Expand Down

0 comments on commit 4d5d0eb

Please sign in to comment.