Skip to content

Commit

Permalink
third_party: update libcurl from 8.6.0 to 8.7.1
Browse files Browse the repository at this point in the history
The patch updates curl module to the version 8.7.1 [1][2] that
brings a number of functional and security fixes, and updates
CMake module for building curl library.

Security fixes:

- CVE-2024-2004: Usage of disabled protocol. (low)
- CVE-2024-2398: HTTP/2 push headers memory-leak. (medium)
- CVE-2024-2379: QUIC certificate check bypass with wolfSSL. (low)
- CVE-2024-2466: TLS certificate check bypass with mbedTLS. (medium)

Changes in CMake module:

- Option `USE_OPENSSL_QUIC` was added and disabled by default [3]

Changelog entry has been removed because duplicate entries about
bumps confuses end users.

1. https://curl.se/changes.html#8_7_1
2. curl/curl@curl-8_6_0...curl-8_7_1
3. curl/curl@8e74164

NO_DOC=libcurl submodule bump
NO_CHANGELOG=libcurl submodule bump
NO_TEST=libcurl submodule bump
  • Loading branch information
ligurio committed Mar 28, 2024
1 parent 1c9b749 commit 7275216
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions changelogs/unreleased/bump-libcurl-to-8.6.0.md

This file was deleted.

3 changes: 3 additions & 0 deletions changelogs/unreleased/bump-libcurl-to-8.7.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## bugfix/build

* Updated libcurl to version 8.7.0.
1 change: 1 addition & 0 deletions cmake/BuildLibCURL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ macro(curl_build)
list(APPEND LIBCURL_CMAKE_FLAGS "-DUSE_NGTCP2=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DUSE_NGHTTP3=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DUSE_QUICHE=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DUSE_OPENSSL_QUIC=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_HTTP=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DCURL_DISABLE_PROXY=OFF")
list(APPEND LIBCURL_CMAKE_FLAGS "-DENABLE_IPV6=ON")
Expand Down
2 changes: 1 addition & 1 deletion third_party/curl
Submodule curl updated 1071 files

0 comments on commit 7275216

Please sign in to comment.