Skip to content

Instantly share code, notes, and snippets.

@missyes
Forked from xen0bit/Dockerfile
Created October 15, 2023 22:01
Show Gist options
  • Save missyes/ba7ccfbed99960a5f7d91b1f872526bf to your computer and use it in GitHub Desktop.
Save missyes/ba7ccfbed99960a5f7d91b1f872526bf to your computer and use it in GitHub Desktop.
CVE-2023-38545
FROM debian:latest
RUN apt-get update && apt-get install -y \
git \
build-essential \
wget \
python3
WORKDIR /build
RUN wget https://github.com/curl/curl/releases/download/curl-7_74_0/curl-7.74.0.tar.gz
RUN tar -xzvf curl-7.74.0.tar.gz
WORKDIR /build/curl-7.74.0
RUN ./configure --with-openssl
RUN make -j$(nproc)
RUN make install
RUN cp -r /usr/local/lib /usr/lib
RUN ldconfig
ENTRYPOINT [ "/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment