USN-5587-1: curl vulnerability

Publication date

1 September 2022

Overview

curl could be denied access to a HTTP(S) content if it recieved a specially crafted cookie.


Packages

  • curl - HTTP, HTTPS, and FTP client and client libraries

Details

Axel Chong discovered that when curl accepted and sent back
cookies containing control bytes that a HTTP(S) server might
return a 400 (Bad Request Error) response. A malicious cookie
host could possibly use this to cause denial-of-service.

Axel Chong discovered that when curl accepted and sent back
cookies containing control bytes that a HTTP(S) server might
return a 400 (Bad Request Error) response. A malicious cookie
host could possibly use this to cause denial-of-service.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy libcurl3-gnutls –  7.81.0-1ubuntu1.4
libcurl3-nss –  7.81.0-1ubuntu1.4
libcurl4 –  7.81.0-1ubuntu1.4
curl –  7.81.0-1ubuntu1.4
20.04 focal libcurl3-gnutls –  7.68.0-1ubuntu2.13
libcurl3-nss –  7.68.0-1ubuntu2.13
libcurl4 –  7.68.0-1ubuntu2.13
curl –  7.68.0-1ubuntu2.13
18.04 bionic libcurl3-gnutls –  7.58.0-2ubuntu3.20
libcurl3-nss –  7.58.0-2ubuntu3.20
libcurl4 –  7.58.0-2ubuntu3.20
curl –  7.58.0-2ubuntu3.20
16.04 xenial libcurl3-gnutls –  7.47.0-1ubuntu2.19+esm5  
libcurl3-nss –  7.47.0-1ubuntu2.19+esm5  
libcurl3 –  7.47.0-1ubuntu2.19+esm5  
curl –  7.47.0-1ubuntu2.19+esm5  
14.04 trusty libcurl3-gnutls –  7.35.0-1ubuntu2.20+esm12  
libcurl3-nss –  7.35.0-1ubuntu2.20+esm12  
libcurl3 –  7.35.0-1ubuntu2.20+esm12  
curl –  7.35.0-1ubuntu2.20+esm12  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›