Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jordimassaguerpla/8ce11ed97284b4f4a5b40647b1730b7b to your computer and use it in GitHub Desktop.
Save jordimassaguerpla/8ce11ed97284b4f4a5b40647b1730b7b to your computer and use it in GitHub Desktop.
Docker file for creating an opensuse vulnerable image
FROM opensuse:leap
MAINTAINER Jordi
# openssh-6.6p1-6.3 contains at least this vulnerability
# https://lists.opensuse.org/opensuse-updates/2016-01/msg00038.html
# CVE-2016-0777 and CVE-2016-0778
# Which is considered a security issue of level *critical*
RUN zypper -n install --oldpackage openssh-6.6p1-6.3
# copy this file as Dockerfile
# run "docker build -t opensuse:leap_vulnerable .
# and you will have an opensuse image which is vulnerable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment