Last active
February 4, 2022 20:45
-
-
Save calebstewart/f08c5df2444222d8f6bc462dbebfcf38 to your computer and use it in GitHub Desktop.
CVE-2021-4034 Vulnerable Docker Container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
ENV DEBIAN_FRONTEND=noninteractive | |
RUN apt -q update && \ | |
apt -q -y install libpolkit-gobject-1-0=0.105-26ubuntu1 libpolkit-agent-1-0=0.105-26ubuntu1 policykit-1=0.105-26ubuntu1 curl ncat build-essential | |
RUN useradd -m -s /bin/bash low | |
WORKDIR /opt/ | |
USER low |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment