public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] f44: Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
@ 2026-10-12 10:22 Jan Macku
0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-10-12 10:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : f44
Commit : 015b44a350490425a98eb43c1f8ef045dd24dff1
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-12T10:28:20+02:00
Stats : +50/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/015b44a350490425a98eb43c1f8ef045dd24dff1?branch=f44
Log:
Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
---
diff --git a/0031-curl-8.18.0-CVE-2026-13608.patch b/0031-curl-8.18.0-CVE-2026-13608.patch
new file mode 100644
index 0000000..5cb0dff
--- /dev/null
+++ b/0031-curl-8.18.0-CVE-2026-13608.patch
@@ -0,0 +1,46 @@
+From d284cb9018a0f360cc007c17b06b3d41a3d9d251 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg <daniel@haxx.se>
+Date: Mon, 29 Jun 2026 10:44:47 +0200
+Subject: [PATCH 2/3] 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 f826a4d006..400c4b00c0 100644
+--- a/lib/openldap.c
++++ b/lib/openldap.c
+@@ -781,8 +781,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 43befdc..74c287b 100644
--- a/curl.spec
+++ b/curl.spec
@@ -114,6 +114,9 @@ Patch029: 0029-curl-8.18.0-CVE-2026-19931.patch
# Fix incomplete mTLS config matching in conn reuse (CVE-2026-8932)
Patch030: 0030-curl-8.18.0-CVE-2026-8932.patch
+# Fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
+Patch031: 0031-curl-8.18.0-CVE-2026-13608.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -542,6 +545,7 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%changelog
* Mon Oct 12 2026 Jan Macku <jamacku@redhat.com> - 8.18.0-14
- Fix incomplete mTLS config matching in conn reuse (CVE-2026-8932)
+- Fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
* Thu Oct 08 2026 Jan Macku <jamacku@redhat.com> - 8.18.0-13
- Fix Negotiate ambient user conn reuse (CVE-2026-19931)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 10:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 10:22 [rpms/curl] f44: 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