3 # Upgrade specific system libraries to fix CVE vulnerabilities
7 # For CVE-2016-7167 CVE-2016-7141
9 # For 2018-5709 CVE-2017-15088 CVE-2017-11462
13 # For CVE-2016-7943 CVE-2016-7942
14 # libxml2 2.9.4+dfsg1-6.1
19 # For CVE-2017-12837 CVE-2017-12883
21 # For CVE-2017-1000158
22 # libsqlite3-0 3.23.1-1
25 # CVE-2016-3418 CVE-2016-0694 CVE-2016-0692 CVE-2016-0689 CVE-2016-0682
26 # libcairo2 libcairo-gobject2
28 # libc-bin libc6 multiarch-support
29 # CVE-2018-1000001 CVE-2017-16997 CVE-2017-1000366 CVE-2015-5180 CVE-2016-5417 CVE-2018-6485 CVE-2017-15804 CVE-2017-15670 CVE-2014-9984 CVE-2014-9761 CVE-2015-8983 CVE-2015-8982
30 # libgtk2.0-0 libgtk2.0-common
33 # CVE-2015-8947 CVE-2016-2052
37 # CVE-2018-6003 CVE-2017-10790
39 # CVE-2016-7946 CVE-2016-7945
47 # CVE-2016-9843 CVE-2016-9841 CVE-2016-9842 CVE-2016-9840
49 RUN echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && \
50 echo "deb http://deb.debian.org/debian stretch-updates main" >> /etc/apt/sources.list && \
51 echo "deb http://security.debian.org stretch/updates main" >> /etc/apt/sources.list && \
52 echo "deb http://deb.debian.org/debian buster main" >> /etc/apt/sources.list && \
53 echo "deb http://deb.debian.org/debian buster-updates main" >> /etc/apt/sources.list && \
54 echo "deb http://security.debian.org buster/updates main" >> /etc/apt/sources.list && \
55 apt-get -y update && \
56 apt-get -y --no-install-recommends install \
57 vim=2:7.4.488-7+deb8u3 vim-common=2:7.4.488-7+deb8u3 vim-runtime=2:7.4.488-7+deb8u3 \
59 openjdk-8-jdk=8u162-b12-1~bpo8+1 \
60 libavahi-client3=0.7-4 libavahi-common-data=0.7-4 libavahi-common3=0.7-4 \
61 curl=7.58.0-2 libcurl3=7.58.0-2 \
62 krb5-locales=1.16-2 libgssapi-krb5-2=1.16-2 libkrb5-3=1.16-2 libkrb5support0=1.16-2 \
64 libx11-6=2:1.6.5-1 libx11-data=2:1.6.5-1 libx11-xcb1=2:1.6.5-1 \
65 libxml2=2.9.4+dfsg1-6.1 \
69 libsqlite3-0=3.23.1-1 \
70 libdb5.3=5.3.28-13.1+b1 \
71 libcairo2=1.15.10-3 libcairo-gobject2=1.15.10-3 \
72 libc-bin=2.27-3 libc6=2.27-3 multiarch-support=2.27-3 \
73 libgtk2.0-0=2.24.32-1 libgtk2.0-common=2.24.32-1 \
74 libharfbuzz0b=1.7.6-1 \
78 libldap-2.4-2=2.4.44+dfsg-5+deb9u1 \
81 zlib1g=1:1.2.8.dfsg-5 && \
85 RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
87 RUN curl -L https://omnitruck.chef.io/install.sh | bash