public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] f45: Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
@ 2026-10-09 8:50 Jan Macku
0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-10-09 8:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : f45
Commit : 505d5d5ba305b28191b18b7badd1cf8b8b114d4d
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-08T15:46:43+02:00
Stats : +53/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/505d5d5ba305b28191b18b7badd1cf8b8b114d4d?branch=f45
Log:
Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
---
diff --git a/0007-curl-8.21.0-CVE-2026-13608.patch b/0007-curl-8.21.0-CVE-2026-13608.patch
new file mode 100644
index 0000000..af98be6
--- /dev/null
+++ b/0007-curl-8.21.0-CVE-2026-13608.patch
@@ -0,0 +1,46 @@
+From 63ca1d9b811755b1362c111f5bf0d8ff68cf21b3 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Mon, 29 Jun 2026 10:44:47 +0200
+Subject: [PATCH 1/2] openldap: handle Curl_sasl_continue() returns better
+
+Similar to how it gets treated already in other protocol handlers.
+
+Follow-up to eeca818b1e8d1e61c2d4
+
+Reported-by: Eunsoo Kim
+Closes #22213
+
+(cherry picked from commit ea71c3b6b60e563651ea8596a975aef0c8199519)
+---
+ lib/openldap.c | 15 +++++++++++++--
+ 1 file changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/lib/openldap.c b/lib/openldap.c
+index 8ec6bb27cd..d743e55185 100644
+--- a/lib/openldap.c
++++ b/lib/openldap.c
+@@ -783,8 +783,19 @@ static CURLcode oldap_state_sasl_resp(struct Curl_easy *data,
+ }
+ else {
+ result = Curl_sasl_continue(&li->sasl, data, code, &progress);
+- if(!result && progress != SASL_INPROGRESS)
+- oldap_state(data, li, OLDAP_STOP);
++ if(!result) {
++ switch(progress) {
++ case SASL_DONE:
++ oldap_state(data, li, OLDAP_STOP); /* Authenticated */
++ break;
++ case SASL_IDLE: /* No mechanism left after cancellation */
++ failf(data, "Authentication cancelled");
++ result = CURLE_LOGIN_DENIED;
++ break;
++ default:
++ break;
++ }
++ }
+ }
+
+ if(li->servercred)
+--
+2.56.0
+
diff --git a/curl.spec b/curl.spec
index 9d61eb0..4aa0567 100644
--- a/curl.spec
+++ b/curl.spec
@@ -13,7 +13,7 @@
Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
Name: curl
Version: 8.21.0
-Release: 7%{?dist}
+Release: 8%{?dist}
License: curl
Source0: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz
Source1: https://curl.se/download/%{name}-%{version_no_tilde}.tar.xz.asc
@@ -40,6 +40,9 @@ Patch005: 0005-curl-8.21.0-CVE-2026-80255.patch
# fix OpenSSL provider use-after-free (CVE-2026-80229)
Patch006: 0006-curl-8.21.0-CVE-2026-80229.patch
+# fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
+Patch007: 0007-curl-8.21.0-CVE-2026-13608.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -492,6 +495,9 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
%changelog
+* Thu Oct 08 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-8
+- fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
+
* Mon Oct 05 2026 Jan Macku <jamacku@redhat.com> - 8.21.0-7
- fix secure cookie attribute bypass with tab (CVE-2026-80255)
- fix OpenSSL provider use-after-free (CVE-2026-80229)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 8:50 [rpms/curl] f45: Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass Jan Macku
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox