public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jan Macku <jamacku@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] f43: Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
Date: Thu, 15 Oct 2026 11:48:35 GMT [thread overview]
Message-ID: <179206491501.1.1609495014289273343.rpms-curl-bd06bc84f78c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/curl
Branch : f43
Commit : bd06bc84f78cff444c06c1a2de46d978a0736258
Author : Jan Macku <jamacku@redhat.com>
Date : 2026-10-14T09:46:25+02:00
Stats : +50/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/bd06bc84f78cff444c06c1a2de46d978a0736258?branch=f43
Log:
Resolves: CVE-2026-13608 - OpenLDAP SASL authentication bypass
---
diff --git a/0025-curl-8.15.0-CVE-2026-13608.patch b/0025-curl-8.15.0-CVE-2026-13608.patch
new file mode 100644
index 0000000..9ff5ecf
--- /dev/null
+++ b/0025-curl-8.15.0-CVE-2026-13608.patch
@@ -0,0 +1,46 @@
+From 75de5728d2003609bc75894c4ce70993ee3d2933 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 e4714b5580..fb341045c0 100644
+--- a/lib/openldap.c
++++ b/lib/openldap.c
+@@ -751,8 +751,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 2ded0ac..5bc21e4 100644
--- a/curl.spec
+++ b/curl.spec
@@ -88,6 +88,9 @@ Patch023: 0023-curl-8.15.0-CVE-2026-80229.patch
# fix incomplete mTLS config matching in conn reuse (CVE-2026-8932)
Patch024: 0024-curl-8.15.0-CVE-2026-8932.patch
+# fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
+Patch025: 0025-curl-8.15.0-CVE-2026-13608.patch
+
# patch making libcurl multilib ready
Patch101: 0101-curl-7.32.0-multilib.patch
@@ -495,6 +498,7 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/wcurl.1*
%changelog
* Tue Oct 13 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-12
- fix incomplete mTLS config matching in conn reuse (CVE-2026-8932)
+- fix OpenLDAP SASL authentication bypass (CVE-2026-13608)
* Tue Oct 06 2026 Jan Macku <jamacku@redhat.com> - 8.15.0-11
- fix secure cookie attribute bypass with tab (CVE-2026-80255)
reply other threads:[~2026-10-15 11:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179206491501.1.1609495014289273343.rpms-curl-bd06bc84f78c@fedoraproject.org \
--to=jamacku@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox