Enviado em 22/03/2024 - 09:15h
Atualizar o curl e libcurl para a versão 8.4.0 visando corrigir a vulnerabilidade:
# find / -name curl 2>/dev/null -exec echo "Found: {}" \; -exec {} --version \;
# apt install -y libssl-dev autoconf libtool make
# wget https://curl.se/download/curl-8.4.0.tar.gz
# tar -xvf curl-8.4.0.tar.gz
# cd curl-8.4.0
# ./buildconf
# ./configure --with-ssl
# make
# make install
# add-apt-repository ppa:savoury1/curl34 -y
# wget http://ftp.de.debian.org/debian/pool/main/n/nghttp2/libnghttp2-14_1.52.0-1_amd64.deb
# dpkg -i libnghttp2-14_1.52.0-1_amd64.deb
# apt update
# apt upgrade
# apt install curl
Caso apresente esses pedidos de dependências:
Execute:
# wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.35-0ubuntu3.5_amd64.deb ; dpkg -i libc6_2.35-0ubuntu3.5_amd64.deb ; apt --fix-broken install ; wget http://archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.81.0-1_amd64.deb ; dpkg -i libcurl4_7.81.0-1_amd64.deb ; apt --fix-broken install; apt update ; apt upgrade
Conferir se foi atualizado.
# curl --version
# find / -name curl 2>/dev/null -exec echo "Found: {}" \; -exec {} --version \;
# apt install -y libssl-dev autoconf libtool make
# wget https://curl.se/download/curl-8.4.0.tar.gz
# tar -xvf curl-8.4.0.tar.gz
# cd curl-8.4.0
# ./buildconf
# ./configure --with-ssl
# make
# make install
# add-apt-repository ppa:savoury1/curl34 -y
# wget http://ftp.de.debian.org/debian/pool/main/n/nghttp2/libnghttp2-14_1.52.0-1_amd64.deb
# dpkg -i libnghttp2-14_1.52.0-1_amd64.deb
# apt update
# apt upgrade
# apt install curl
Caso apresente esses pedidos de dependências:
Execute:
# wget http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.35-0ubuntu3.5_amd64.deb ; dpkg -i libc6_2.35-0ubuntu3.5_amd64.deb ; apt --fix-broken install ; wget http://archive.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4_7.81.0-1_amd64.deb ; dpkg -i libcurl4_7.81.0-1_amd64.deb ; apt --fix-broken install; apt update ; apt upgrade
Conferir se foi atualizado.
# curl --version