---
title: "CVE-2024-2004"
canonical_url: "https://pkgseek.com/security/CVE-2024-2004"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2024-2004

Dan Fandrich discovered that curl would incorrectly use the default set of protocols when a parameter option disabled all protocols without adding any, contrary to expectations. This issue only affected Ubuntu 23.10. (CVE-2024-2004) It was discovered that curl incorrectly handled memory when limiting the amount of headers when HTTP/2 server push is allowed. A remote attacker could possibly use this issue to cause curl to consume resources, leading to a denial of service. (CVE-2024-2398)

CVE-2024-2004 is rated MEDIUM, with 22 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM
- **Affected builds**: 22
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | curl | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl3-gnutls | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl3-nss | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl4 | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl4-doc | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl4-gnutls-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl4-nss-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | focal | libcurl4-openssl-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.22 |
| Ubuntu | jammy | curl | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl3-gnutls | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl3-nss | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl4 | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl4-doc | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl4-gnutls-dev | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl4-nss-dev | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | jammy | libcurl4-openssl-dev | 7.81.0-1 | 7.81.0-1ubuntu1.16 |
| Ubuntu | noble | curl | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
| Ubuntu | noble | libcurl3t64-gnutls | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
| Ubuntu | noble | libcurl4-doc | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
| Ubuntu | noble | libcurl4-gnutls-dev | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
| Ubuntu | noble | libcurl4-openssl-dev | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
| Ubuntu | noble | libcurl4t64 | 8.5.0-2ubuntu10 | 8.5.0-2ubuntu10.1 |
