Skip to content

Instantly share code, notes, and snippets.

@calebstewart
Last active February 4, 2022 20:45
Show Gist options
  • Save calebstewart/f08c5df2444222d8f6bc462dbebfcf38 to your computer and use it in GitHub Desktop.
Save calebstewart/f08c5df2444222d8f6bc462dbebfcf38 to your computer and use it in GitHub Desktop.
CVE-2021-4034 Vulnerable Docker Container
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