Skip to content

Instantly share code, notes, and snippets.

@Eason-zz
Forked from xen0bit/Dockerfile
Created October 11, 2023 09:57
Show Gist options
  • Save Eason-zz/d0933ec138fdb5201dc495bfa1dd323d to your computer and use it in GitHub Desktop.
Save Eason-zz/d0933ec138fdb5201dc495bfa1dd323d 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