Bug 2270500 (CVE-2024-2004)
| Summary: | CVE-2024-2004 curl: Usage of disabled protocol | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Patrick Del Bello <pdelbell> |
| Component: | vulnerability | Assignee: | Product Security <prodsec-ir-bot> |
| Status: | NEW --- | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | unspecified | CC: | aarif, agarcial, ahrabovs, aoconnor, aprice, asegurap, aucunnin, bdettelb, caswilli, crizzo, csutherl, dfreiber, dkuc, doconnor, drow, fjansen, gsuckevi, hhorak, hkataria, jburrell, jclere, jdobes, jmitchel, jorton, jsamir, jsherril, jtanner, jvasik, kaycoth, kdudka, kholdawa, kshier, lcouzens, luhliari, luizcosta, mpierce, mskarbek, mstoklus, nweather, oezr, orabin, pjindal, plodge, rblanco, security-response-team, sidakwo, stcannon, sthirugn, szappis, teagle, vkrizan, vkumar, vmugicag, xiaoxwan, yguenane, zzhou |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | curl 8.7.0 | Doc Type: | --- |
| Doc Text: |
A flaw was found in curl. When a protocol selection parameter disables all protocols without adding any, the default set of protocols remains in the allowed set due to a logic error, allowing usage of disabled protocols.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2270501, 2271826, 2271827 | ||
| Bug Blocks: | 2270489 | ||
Created curl tracking bugs for this issue: Affects: fedora-all [bug 2271826] Created mingw-curl tracking bugs for this issue: Affects: fedora-all [bug 2271827] This issue has been addressed in the following products: Red Hat JBoss Core Services Via RHSA-2024:2694 https://access.redhat.com/errata/RHSA-2024:2694 This issue has been addressed in the following products: JBoss Core Services on RHEL 7 JBoss Core Services for RHEL 8 Via RHSA-2024:2693 https://access.redhat.com/errata/RHSA-2024:2693 |
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. This flaw is also accessible using the curl command line tool. Reference: https://curl.se/docs/CVE-2024-2004.html Upstream patch: https://github.com/curl/curl/commit/17d302e56221