---
title: 'USN-6641-1: curl vulnerability | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-6641-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-6641-1

---

# USN-6641-1: curl vulnerability

Publication date

19 February 2024

Overview

curl could be made to set cookies that would bypass PSL checks.

Releases

[18.04 LTS](https://ubuntu.com/security/notices?release=bionic)
[16.04 LTS](https://ubuntu.com/security/notices?release=xenial)

---

Open side navigation

## Packages

* [curl](https://ubuntu.com/security/cves?package=curl) - HTTP, HTTPS, and FTP client and client libraries

## Details

Harry Sintonen discovered that curl incorrectly handled mixed case cookie
domains. A remote attacker could possibly use this issue to set cookies
that get sent to different and unrelated sites and domains.

## Update instructions

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

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

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

| Ubuntu Release | Package Version |
| --- | --- |
| 18.04 LTS bionic | [curl](https://launchpad.net/ubuntu/+source/curl) –  7.58.0-2ubuntu3.24+esm3   Ubuntu Pro | | |
| [libcurl3-gnutls](https://launchpad.net/ubuntu/+source/curl) –  7.58.0-2ubuntu3.24+esm3   Ubuntu Pro | | |
| [libcurl3-nss](https://launchpad.net/ubuntu/+source/curl) –  7.58.0-2ubuntu3.24+esm3   Ubuntu Pro | | |
| [libcurl4](https://launchpad.net/ubuntu/+source/curl) –  7.58.0-2ubuntu3.24+esm3   Ubuntu Pro | | |
| 16.04 LTS xenial | [curl](https://launchpad.net/ubuntu/+source/curl) –  7.47.0-1ubuntu2.19+esm11   Ubuntu Pro | | |
| [libcurl3](https://launchpad.net/ubuntu/+source/curl) –  7.47.0-1ubuntu2.19+esm11   Ubuntu Pro | | |
| [libcurl3-gnutls](https://launchpad.net/ubuntu/+source/curl) –  7.47.0-1ubuntu2.19+esm11   Ubuntu Pro | | |
| [libcurl3-nss](https://launchpad.net/ubuntu/+source/curl) –  7.47.0-1ubuntu2.19+esm11   Ubuntu Pro | | |

---

### 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.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2023-46218](https://ubuntu.com/security/CVE-2023-46218)

## Related notices

* [USN-6535-1](https://ubuntu.com/security/notices/USN-6535-1)
