public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rabbitmq-server] f44: Backport fix for CVE-2026-67421
Date: Wed, 04 Nov 2026 16:20:56 GMT [thread overview]
Message-ID: <179380925609.1.5456307211026142910.rpms-rabbitmq-server-1f85637513dc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rabbitmq-server
Branch : f44
Commit : 1f85637513dc14aa095ca811614b3b3b1d1762e4
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-11-04T17:20:12+01:00
Stats : +51/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rabbitmq-server/c/1f85637513dc14aa095ca811614b3b3b1d1762e4?branch=f44
Log:
Backport fix for CVE-2026-67421
Backported from upstream v4.3.x 27be68b85e ("Management UI: tweak the CSP
default"): escape the error reason shown on the OAuth login page after a
401/403, and add base-uri 'none' to the default management CSP. The 4.2.9
script-src value is kept, since the 4.2 UI still needs 'unsafe-eval' and
'unsafe-inline'.
Resolves: rhbz#2566800
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/rabbitmq-server-0011-Management-UI-tweak-the-CSP-default.patch b/rabbitmq-server-0011-Management-UI-tweak-the-CSP-default.patch
new file mode 100644
index 0000000..03d302b
--- /dev/null
+++ b/rabbitmq-server-0011-Management-UI-tweak-the-CSP-default.patch
@@ -0,0 +1,46 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Michael Klishin <michaelklishin@icloud.com>
+Date: Fri, 25 Sep 2026 16:58:18 -0700
+Subject: [PATCH 11/11] Management UI: tweak the CSP default
+
+(cherry picked from commit 2cc93405e5d392a791a1c91510f0b543c3324dd6)
+(cherry picked from commit 3042365de1dcf6ceeaee1ca1945f0e8c0250260c)
+(cherry picked from commit 27be68b85ec329c8d8d28949fe4a8a7f202b5c20)
+
+[Backport to 4.2.9: keep the 4.2.9 script-src value, which still needs
+'unsafe-eval' and 'unsafe-inline' for the 4.2 UI, and only append
+base-uri 'none'. Fixes CVE-2026-67421 (GHSA-6256-27fm-4rgr).]
+
+Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+---
+ deps/rabbitmq_management/Makefile | 2 +-
+ deps/rabbitmq_management/priv/www/js/main.js | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/deps/rabbitmq_management/Makefile b/deps/rabbitmq_management/Makefile
+index b39c802a90..f53f3c46d2 100644
+--- a/deps/rabbitmq_management/Makefile
++++ b/deps/rabbitmq_management/Makefile
+@@ -12,7 +12,7 @@ define PROJECT_ENV
+
+ {cors_allow_origins, []},
+ {cors_max_age, 1800},
+- {content_security_policy, "script-src 'self' 'unsafe-eval' 'unsafe-inline'; object-src 'self'"},
++ {content_security_policy, "script-src 'self' 'unsafe-eval' 'unsafe-inline'; object-src 'self'; base-uri 'none'"},
+ {max_http_body_size, 10000000},
+ {delegate_count, 5},
+ {require_auth_for_api_reference, false}
+diff --git a/deps/rabbitmq_management/priv/www/js/main.js b/deps/rabbitmq_management/priv/www/js/main.js
+index f134728b50..093aeec9d2 100644
+--- a/deps/rabbitmq_management/priv/www/js/main.js
++++ b/deps/rabbitmq_management/priv/www/js/main.js
+@@ -1551,7 +1551,7 @@ function check_bad_response(req, full_page_404, on404fun) {
+ error == 'not_authorised' ||
+ error == 'not_authorized') {
+ if ((req.status == 401 || req.status == 403) && oauth.enabled) {
+- initiate_logout(oauth, reason);
++ initiate_logout(oauth, fmt_escape_html(reason));
+ } else if (on404fun && (typeof on404fun === 'function') && req.status == 404) {
+ on404fun(response);
+ } else {
diff --git a/rabbitmq-server.spec b/rabbitmq-server.spec
index 2818fe4..8d4e9a8 100644
--- a/rabbitmq-server.spec
+++ b/rabbitmq-server.spec
@@ -8,7 +8,7 @@
Name: rabbitmq-server
Version: 4.2.9
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The RabbitMQ server
License: MPL-2.0
Source0: https://github.com/rabbitmq/rabbitmq-server/releases/download/v%{version}/%{name}_%{version}.orig.tar.xz
@@ -30,6 +30,7 @@ Patch: rabbitmq-server-0007-rabbit_access_control-update_state-2-rebuild-user-ta
Patch: rabbitmq-server-0008-Encode-AMQP-1.0-arrays-of-zero-octet-elements-as-opa.patch
Patch: rabbitmq-server-0009-Match-exact-symbol-length-when-detecting-AMQP-1.0-bo.patch
Patch: rabbitmq-server-0010-Parse-MQTT-properties-strictly.patch
+Patch: rabbitmq-server-0011-Management-UI-tweak-the-CSP-default.patch
URL: https://www.rabbitmq.com/
BuildRequires: elixir
@@ -182,6 +183,9 @@ rm -f %{_rabbit_libdir}/lib/rabbitmq_server-%{version}/ebin/rabbit.{rel,script,b
%changelog
+* Wed Nov 04 2026 Peter Lemenkov <lemenkov@gmail.com> - 4.2.9-5
+- Backport fix for CVE-2026-67421 (rhbz#2566800)
+
* Mon Nov 02 2026 Peter Lemenkov <lemenkov@gmail.com> - 4.2.9-4
- Backport fixes for CVE-2026-67414 (rhbz#2561692), CVE-2026-67416
(rhbz#2561690) and CVE-2026-67418 (rhbz#2561691)
reply other threads:[~2026-11-04 16:20 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=179380925609.1.5456307211026142910.rpms-rabbitmq-server-1f85637513dc@fedoraproject.org \
--to=lemenkov@gmail.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