CVE-2024-2004: Curl - Misconfiguration
- Cve: CVE-2024-2004
- Name: Curl - Misconfiguration
- Description: When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled. curl --proto -all,-http http://curl.se The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug.
- Impact: Potentially allows use of plaintext protocols despite being disabled, but the flaw is unlikely to be exploited in practical scenarios.
- Remediation: Update to the latest version of curl where this issue is fixed.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
- Epss score: 0.01681
- Epss percentile: 0.7756
- Assignee: 2499f714-1537-4658-8207-48ae4bb9eae9
- Published at: 2024-03-27T08:15:41Z
- Age in days: 972
- Modified at: 2026-10-15T01:17:42Z
- Patch available: yes
- Public exploits total: 1
- References total: 16
- Products total: 10
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2004
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-436 | Interpretation Conflict |
Hackerone
- Reports: 2
- Rank: 3792
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/2384833 | nvd | 2024-03-27 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://curl.se/docs/CVE-2024-2004.html | Vendor Advisory |
| https://curl.se/docs/CVE-2024-2004.json | Vendor Advisory |
| https://support.apple.com/kb/HT214118 | Release Notes, Vendor Advisory |
| https://support.apple.com/kb/HT214119 | Release Notes, Vendor Advisory |
| https://support.apple.com/kb/HT214120 | Release Notes, Vendor Advisory |
| https://hackerone.com/reports/2384833 | Exploit, Issue Tracking, Third Party Advisory |
| http://seclists.org/fulldisclosure/2024/Jul/18 | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2024/Jul/19 | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2024/Jul/20 | Mailing List, Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2024/03/27/1 | Mailing List, Third Party Advisory |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| haxx:curl | >= 7.85.0, < 8.7.0 | no | /v1/products/haxx/curl |
| fedoraproject:fedora | = 40, = 39 | no | /v1/products/fedoraproject/fedora |
| apple:macos | >= 14.0, < 14.6; >= 13.0, < 13.6.8; < 12.7.6 | no | /v1/products/apple/macos |
| netapp:h700s_firmware | all versions | yes | /v1/products/netapp/h700s_firmware |
| netapp:h300s_firmware | all versions | yes | /v1/products/netapp/h300s_firmware |
| netapp:h410s_firmware | all versions | yes | /v1/products/netapp/h410s_firmware |
| netapp:h500s_firmware | all versions | yes | /v1/products/netapp/h500s_firmware |
| netapp:ontap_select_deploy_administration_utility | all versions | no | /v1/products/netapp/ontap_select_deploy_administration_utility |
| netapp:bootstrap_os | all versions | yes | /v1/products/netapp/bootstrap_os |
| netapp:ontap | = 9 | no | /v1/products/netapp/ontap |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| curl/curl | fix | yes | /v1/repositories/curl/curl |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-03-27
- Remote: yes
- Authentication required: yes
- Hackerone reports: 2
- Exposed hosts: 48460
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since