Skip to contentSkip to conversation

curl: Update from 8.0.1 to 8.1.0

PATCH In review [email protected] 2 participants 4 messages Jun 8, 2023 – Jun 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 curl: Update from 8.0.1 to 8.1.0

From: Robert Joslyn <[email protected]>

This is a feature and bugfix release. Release notes are available at:
https://curl.se/changes.html#8_1_0

---
 meta/recipes-support/curl/{curl_8.0.1.bb => curl_8.1.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/curl/{curl_8.0.1.bb => curl_8.1.0.bb} (98%)
meta/recipes-support/curl/curl_8.1.0.bb renamed from meta/recipes-support/curl/curl_8.0.1.bb +1 -1
similarity index 98%
rename from meta/recipes-support/curl/curl_8.0.1.bb
rename to meta/recipes-support/curl/curl_8.1.0.bb
index 5cf044615f..0efd0de5c2 100644
@@ -14,7 +14,7 @@ SRC_URI = " \
     file://run-ptest \
     file://disable-tests \
 "
-SRC_URI[sha256sum] = "0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0"
+SRC_URI[sha256sum] = "6bd80ad4f07187015911216ee7185b90d285ac5162aed1bded144f9f93232a3c"
 
 # Curl has used many names over the years...
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 curl: Update from 8.1.0 to 8.1.1

From: Robert Joslyn <[email protected]>

This is a bugfix only release. Release notes:
https://curl.se/changes.html#8_1_1

---
 meta/recipes-support/curl/{curl_8.1.0.bb => curl_8.1.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/curl/{curl_8.1.0.bb => curl_8.1.1.bb} (98%)
meta/recipes-support/curl/curl_8.1.1.bb renamed from meta/recipes-support/curl/curl_8.1.0.bb +1 -1
similarity index 98%
rename from meta/recipes-support/curl/curl_8.1.0.bb
rename to meta/recipes-support/curl/curl_8.1.1.bb
index 0efd0de5c2..89ab61fc59 100644
@@ -14,7 +14,7 @@ SRC_URI = " \
     file://run-ptest \
     file://disable-tests \
 "
-SRC_URI[sha256sum] = "6bd80ad4f07187015911216ee7185b90d285ac5162aed1bded144f9f93232a3c"
+SRC_URI[sha256sum] = "08a948e061929645597c1ef7194e07b308b22084ff03fa7400b465e6c05149e5"
 
 # Curl has used many names over the years...
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
Signature · 1 line
2.25.1
#2 lore raw
In reply to [email protected]
Quoted 5 lines · Mingli

From: Robert Joslyn <[email protected]>

This is a feature and bugfix release. Release notes are available at:
https://curl.se/changes.html#8_1_0

Since this is a feature/bugfix update (and not bugfix only) it is not allowed for a stable branch.

Steve

Quoted 37 lines
---
 meta/recipes-support/curl/{curl_8.0.1.bb => curl_8.1.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/curl/{curl_8.0.1.bb => curl_8.1.0.bb} (98%)
meta/recipes-support/curl/curl_8.1.0.bb renamed from meta/recipes-support/curl/curl_8.0.1.bb +1 -2
similarity index 98%
rename from meta/recipes-support/curl/curl_8.0.1.bb
rename to meta/recipes-support/curl/curl_8.1.0.bb
index 5cf044615f..0efd0de5c2 100644
@@ -14,7 +14,7 @@ SRC_URI = " \
     file://run-ptest \
     file://disable-tests \
 "
-SRC_URI[sha256sum] = "0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0"
+SRC_URI[sha256sum] = "6bd80ad4f07187015911216ee7185b90d285ac5162aed1bded144f9f93232a3c"
 
 # Curl has used many names over the years...
 CVE_PRODUCT = "haxx:curl haxx:libcurl curl:curl curl:libcurl libcurl:libcurl daniel_stenberg:curl"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#182495): https://lists.openembedded.org/g/openembedded-core/message/182495
Mute This Topic: https://lists.openembedded.org/mt/99401642/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

[mickledore]][PATCH] curl: Fix CVEs

From: Mingli Yu <[email protected]>

Backport patches to fix the below CVEs:
CVE-2023-28319
CVE-2023-28320
CVE-2023-28321
CVE-2023-28322

---
 .../curl/curl/CVE-2023-28319.patch            |  38 ++
 .../curl/curl/CVE-2023-28320.patch            |  88 ++++
 .../curl/curl/CVE-2023-28321.patch            | 111 +++++
 .../curl/curl/CVE-2023-28322.patch            | 441 ++++++++++++++++++
 meta/recipes-support/curl/curl_8.0.1.bb       |   4 +
 5 files changed, 682 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2023-28319.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2023-28320.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2023-28321.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2023-28322.patch
meta/recipes-support/curl/curl/CVE-2023-28319.patch new file +38 -0
new file mode 100644
index 0000000000..c843a18174
@@ -0,0 +1,38 @@
+From 8e21b1a05f3c0ee098dbcb6c3d84cb61f102a122 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <[email protected]>
+Date: Mon, 8 May 2023 14:33:54 +0200
+Subject: [PATCH] libssh2: free fingerprint better
+
+Reported-by: Wei Chong Tan
+Closes #11088
+
+CVE: CVE-2023-28319
+
+Upstream-Status: Backport [https://github.com/curl/curl/commit/8e21b1a05f3c0ee098dbcb6c]
+
+Signed-off-by: Mingli Yu <[email protected]>
+
+---
+ lib/vssh/libssh2.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
+index bfcc94e16..dd39a844c 100644
+--- a/lib/vssh/libssh2.c
++++ b/lib/vssh/libssh2.c
+@@ -728,11 +728,10 @@ static CURLcode ssh_check_fingerprint(struct Curl_easy *data)
+      */
+     if((pub_pos != b64_pos) ||
+        strncmp(fingerprint_b64, pubkey_sha256, pub_pos)) {
+-      free(fingerprint_b64);
+-
+       failf(data,
+             "Denied establishing ssh session: mismatch sha256 fingerprint. "
+             "Remote %s is not equal to %s", fingerprint_b64, pubkey_sha256);
++      free(fingerprint_b64);
+       state(data, SSH_SESSION_FREE);
+       sshc->actualcode = CURLE_PEER_FAILED_VERIFICATION;
+       return sshc->actualcode;
+-- 
+2.25.1
+
meta/recipes-support/curl/curl/CVE-2023-28320.patch new file +88 -0

88 lines not on this page · raw message

meta/recipes-support/curl/curl/CVE-2023-28321.patch new file +111 -0

111 lines not on this page · raw message

meta/recipes-support/curl/curl/CVE-2023-28322.patch new file +441 -0

441 lines not on this page · raw message

meta/recipes-support/curl/curl_8.0.1.bb +4 -0
index 5cf044615f..ecef173df2 100644
@@ -13,6 +13,10 @@ SRC_URI = " \
     https://curl.se/download/${BP}.tar.xz \
     file://run-ptest \
     file://disable-tests \
+    file://CVE-2023-28322.patch \
+    file://CVE-2023-28319.patch \
+    file://CVE-2023-28320.patch \
+    file://CVE-2023-28321.patch \
 "
 SRC_URI[sha256sum] = "0a381cd82f4d00a9a334438b8ca239afea5bfefcfa9a1025f2bf118e79e0b5f0"
 
Signature · 1 line
2.25.1