Skip to content

Commit 62b8444

Browse files
CBL-Mariner-Botazurelinux-securitycarlapgavilan
authored
[AUTO-CHERRYPICK] [AutoPR- Security] Patch ceph for CVE-2024-48916 [HIGH] - branch 3.0-dev (#14466)
Co-authored-by: Azure Linux Security Servicing Account <[email protected]> Co-authored-by: carlapgavilan <[email protected]>
1 parent 68e0f51 commit 62b8444

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

SPECS/ceph/CVE-2024-48916.patch

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From be105ab62fd4c93be9f9e5896e28c702534b0c56 Mon Sep 17 00:00:00 2001
2+
From: Pritha Srivastava <[email protected]>
3+
Date: Tue, 5 Nov 2024 12:03:00 +0530
4+
Subject: [PATCH] rgw/sts: fix to disallow unsupported JWT algorithms while
5+
authenticating AssumeRoleWithWebIdentity using JWT obtained from an external
6+
IDP.
7+
8+
fixes: https://tracker.ceph.com/issues/68836
9+
10+
Signed-off-by: Pritha Srivastava <[email protected]>
11+
---
12+
src/rgw/rgw_rest_sts.cc | 3 +++
13+
1 file changed, 3 insertions(+)
14+
15+
diff --git a/src/rgw/rgw_rest_sts.cc b/src/rgw/rgw_rest_sts.cc
16+
index 09f77f61d..23328236a 100644
17+
--- a/src/rgw/rgw_rest_sts.cc
18+
+++ b/src/rgw/rgw_rest_sts.cc
19+
@@ -444,6 +444,9 @@ WebTokenEngine::validate_signature(const DoutPrefixProvider* dpp, const jwt::dec
20+
.allow_algorithm(jwt::algorithm::ps512{cert});
21+
22+
verifier.verify(decoded);
23+
+ } else {
24+
+ ldpp_dout(dpp, 0) << "Unsupported algorithm: " << algorithm << dendl;
25+
+ throw -EINVAL;
26+
}
27+
} catch (std::runtime_error& e) {
28+
ldpp_dout(dpp, 0) << "Signature validation failed: " << e.what() << dendl;
29+
--
30+
2.45.4
31+

SPECS/ceph/ceph.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Summary: User space components of the Ceph file system
66
Name: ceph
77
Version: 18.2.2
8-
Release: 9%{?dist}
8+
Release: 10%{?dist}
99
License: LGPLv2 and LGPLv3 and CC-BY-SA and GPLv2 and Boost and BSD and MIT and Public Domain and GPLv3 and ASL-2.0
1010
URL: https://ceph.io/
1111
Vendor: Microsoft Corporation
@@ -29,6 +29,7 @@ Patch14: CVE-2025-1744.patch
2929
Patch15: CVE-2021-28361.patch
3030
Patch16: CVE-2020-14378.patch
3131
Patch17: CVE-2025-52555.patch
32+
Patch18: CVE-2024-48916.patch
3233
#
3334
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
3435
# at the top-level directory of this distribution and at
@@ -2019,6 +2020,9 @@ exit 0
20192020
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
20202021

20212022
%changelog
2023+
* Fri Aug 01 2025 Azure Linux Security Servicing Account <[email protected]> - 18.2.2-10
2024+
- Patch for CVE-2024-48916
2025+
20222026
* Tue Jul 01 2025 Azure Linux Security Servicing Account <[email protected]> - 18.2.2-9
20232027
- Patch for CVE-2025-52555
20242028

0 commit comments

Comments
 (0)