CVE-2022-32205Medium· 4.3▾ SunlitA malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers…
▾ Sunlit zone — Low / medium · no exploitation signal
impact 23.7 · likelihood 5.6 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via NVD
Last analysed / modified upstream
28%
A malicious server can serve excessive amounts of Set-Cookie: headers in a HTTP response to curl and curl < 7.84.0 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error.This denial state might remain for as long as the same cookies are kept, match and haven't expired. Due to cookie matching rules, a server on foo.example.com can set cookies that also would match for bar.example.com, making it it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second level domain using this method.
curl >= 7.71.0, < 7.84.0fedora = 35debian_linux = 11.0clustered_data_ontapelement_softwarehci_management_nodesolidfireh300s_firmwareh500s_firmwareh700s_firmwareh410s_firmwaremacos < 13.0scalance_sc622-2c_firmware < 3.0scalance_sc626-2c_firmware < 3.0scalance_sc632-2c_firmware < 3.0scalance_sc636-2c_firmware < 3.0scalance_sc642-2c_firmware < 3.0scalance_sc646-2c_firmware < 3.0universal_forwarder >= 8.2.0, < 8.2.12universal_forwarder >= 9.0.0, < 9.0.6universal_forwarder = 9.1.0Upgrade past the affected range:
curl 7.84.0macos 13.0scalance_sc622-2c_firmware 3.0scalance_sc626-2c_firmware 3.0scalance_sc632-2c_firmware 3.0scalance_sc636-2c_firmware 3.0scalance_sc642-2c_firmware 3.0scalance_sc646-2c_firmware 3.0universal_forwarder 9.0.6Connected by shared product, vendor, weakness, or advisory.
CVE-2022-32206Medium· 6.5curl < 7.84.0 supports "chained" HTTP compression algorithms, meaning that a serverresponse can be compressed multiple times and potentially with different algorithms
CVE-2022-42915High· 8.1curl before 7.86.0 has a double free
CVE-2022-42916High· 7.5In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP
CVE-2022-35260Medium· 6.5curl can be told to parse a `.netrc` file for credentials
CVE-2022-35252Low· 3.7When curl is used to retrieve and parse cookies from a HTTP(S) server, itaccepts cookies using control codes that when later are sent back to a HTTPserver might make the server return 400 responses
CVE-2022-32221Critical· 9.8When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PU…