Closed copperlight closed 5 months ago
Since we use Conan, we'll have to wait for the new release to percolate through, sometime after Oct 11 - hopefully it is quick. Version 8.2.1 is currently the latest available recipe.
https://daniel.haxx.se/blog/2023/10/11/how-i-made-a-heap-overflow-in-curl/
An attacker that controls an HTTPS server that a libcurl using client accesses over a SOCKS5 proxy (using the proxy-resolver-mode) can make it return a crafted redirect to the application via a HTTP 30x response.
If the libcurl using client has automatic redirect-following enabled, and the SOCKS5 proxy is “slow enough” to trigger the local variable bug, it will copy the crafted host name into the too small allocated buffer and into the adjacent heap memory.
A heap buffer overflow has then occurred.
Since we do not use the SOCKS5 protocol in this project, we are not affected by this vulnerability, but we should still update to the latest anyways.
Conancenter does not yet have the latest version.
There is an open PR to bump the libcurl version in Conancenter:
Fixed with the following dependency update:
https://github.com/curl/curl/discussions/12026