USN-5702-1: curl vulnerabilities
26 October 2022
Several security issues were fixed in curl.
Releases
Packages
- curl - HTTP, HTTPS, and FTP client and client libraries
Details
Robby Simpson discovered that curl incorrectly handled certain POST
operations after PUT operations. This issue could cause applications using
curl to send the wrong data, perform incorrect memory operations, or crash.
(CVE-2022-32221)
Hiroki Kurosawa discovered that curl incorrectly handled parsing .netrc
files. If an attacker were able to provide a specially crafted .netrc file,
this issue could cause curl to crash, resulting in a denial of service.
This issue only affected Ubuntu 22.10. (CVE-2022-35260)
It was discovered that curl incorrectly handled certain HTTP proxy return
codes. A remote attacker could use this issue to cause curl to crash,
resulting in a denial of service, or possibly execute arbitrary code. This
issue only affected Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-42915)
Hiroki Kurosawa discovered that curl incorrectly handled HSTS support
when certain hostnames included IDN characters. A remote attacker could
possibly use this issue to cause curl to use unencrypted connections. This
issue only affected Ubuntu 22.04 LTS, and Ubuntu 22.10. (CVE-2022-42916)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.10
-
libcurl3-gnutls
-
7.85.0-1ubuntu0.1
-
libcurl3-nss
-
7.85.0-1ubuntu0.1
-
libcurl4
-
7.85.0-1ubuntu0.1
-
curl
-
7.85.0-1ubuntu0.1
Ubuntu 22.04
-
libcurl3-gnutls
-
7.81.0-1ubuntu1.6
-
libcurl3-nss
-
7.81.0-1ubuntu1.6
-
libcurl4
-
7.81.0-1ubuntu1.6
-
curl
-
7.81.0-1ubuntu1.6
Ubuntu 20.04
-
libcurl3-gnutls
-
7.68.0-1ubuntu2.14
-
libcurl3-nss
-
7.68.0-1ubuntu2.14
-
libcurl4
-
7.68.0-1ubuntu2.14
-
curl
-
7.68.0-1ubuntu2.14
Ubuntu 18.04
-
libcurl3-gnutls
-
7.58.0-2ubuntu3.21
-
libcurl3-nss
-
7.58.0-2ubuntu3.21
-
libcurl4
-
7.58.0-2ubuntu3.21
-
curl
-
7.58.0-2ubuntu3.21
In general, a standard system update will make all the necessary changes.
References
Related notices
- USN-5702-2: libcurl3-nss, libcurl4-doc, curl, libcurl4-openssl-dev, libcurl4-nss-dev, libcurl3, libcurl4-gnutls-dev, libcurl3-gnutls
- USN-5823-1: mysql-testsuite-5.7, mysql-server-core-5.7, mysql-server-5.7, libmysqld-dev, libmysqlclient20, mysql-source-8.0, mysql-5.7, mysql-server-core-8.0, mysql-8.0, libmysqlclient21, mysql-server-8.0, mysql-client-core-5.7, mysql-client-core-8.0, libmysqlclient-dev, mysql-testsuite, mysql-client-8.0, mysql-client, mysql-server, mysql-testsuite-8.0, mysql-client-5.7, mysql-router, mysql-source-5.7