Ubuntu 6334 Published by

A curl security update has been released for Ubuntu Linux 14.04 ESM and 16.04 ESM.



USN-5079-2: curl vulnerabilities


==========================================================================
Ubuntu Security Notice USN-5079-2
September 15, 2021

curl vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 16.04 ESM
- Ubuntu 14.04 ESM

Summary:

Several security issues were fixed in curl.

Software Description:
- curl: HTTP, HTTPS, and FTP client and client libraries

Details:

USN-5079-1 fixed several vulnerabilities in curl. This update provides
the corresponding update for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.

Original advisory details:

Patrick Monnerat discovered that curl incorrectly handled upgrades to TLS.
When receiving certain responses from servers, curl would continue without
TLS even when the option to require a successful upgrade to TLS was
specified. (CVE-2021-22946)

Patrick Monnerat discovered that curl incorrectly handled responses
received before STARTTLS. A remote attacker could possibly use this issue
to inject responses and intercept communications. (CVE-2021-22947)

Update instructions:

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

Ubuntu 16.04 ESM:
curl 7.47.0-1ubuntu2.19+esm1
libcurl3 7.47.0-1ubuntu2.19+esm1
libcurl3-gnutls 7.47.0-1ubuntu2.19+esm1
libcurl3-nss 7.47.0-1ubuntu2.19+esm1

Ubuntu 14.04 ESM:
curl 7.35.0-1ubuntu2.20+esm8
libcurl3 7.35.0-1ubuntu2.20+esm8
libcurl3-gnutls 7.35.0-1ubuntu2.20+esm8
libcurl3-nss 7.35.0-1ubuntu2.20+esm8

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

References:
  https://ubuntu.com/security/notices/USN-5079-2
  https://ubuntu.com/security/notices/USN-5079-1
CVE-2021-22946, CVE-2021-22947