Skip to content

Commit 0efb66a

Browse files
Patch ceph to fix CVE-2015-9251
1 parent 1a8c4a7 commit 0efb66a

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

SPECS/ceph/CVE-2015-9251.patch

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
From 124fa2abfde0939c5a7684be1c9f11565888a3a5 Mon Sep 17 00:00:00 2001
2+
From: Kevin Lockwood <[email protected]>
3+
Date: Tue, 28 Jan 2025 17:30:43 -0800
4+
Subject: [PATCH] [Medium] Patch ceph to fix CVE-2015-9251
5+
6+
Link: https://github.com/jquery/jquery/commit/f60729f3903d17917dc351f3ac87794de379b0cc.patch
7+
---
8+
qa/workunits/erasure-code/jquery.js | 8 ++++++++
9+
1 file changed, 8 insertions(+)
10+
11+
diff --git a/qa/workunits/erasure-code/jquery.js b/qa/workunits/erasure-code/jquery.js
12+
index 8c24ffc61..f4ce660b1 100644
13+
--- a/qa/workunits/erasure-code/jquery.js
14+
+++ b/qa/workunits/erasure-code/jquery.js
15+
@@ -8245,6 +8245,14 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
16+
return "script";
17+
}
18+
});
19+
+
20+
+// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
21+
+jQuery.ajaxPrefilter( function( s ) {
22+
+ if ( s.crossDomain ) {
23+
+ s.contents.script = false;
24+
+ }
25+
+} );
26+
+
27+
// Install script dataType
28+
jQuery.ajaxSetup({
29+
accepts: {
30+
--
31+
2.34.1
32+

SPECS/ceph/ceph.spec

+5-1
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: 3%{?dist}
8+
Release: 4%{?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
@@ -14,6 +14,7 @@ Source0: https://download.ceph.com/tarballs/%{name}-%{version}.tar.gz
1414
Patch0: 0034-src-pybind-rbd-rbd.pyx.patch
1515
Patch1: 0032-cmake-modules-BuildBoost.cmake.patch
1616
Patch2: CVE-2024-52338.patch
17+
Patch3: CVE-2015-9251.patch
1718
#
1819
# Copyright (C) 2004-2019 The Ceph Project Developers. See COPYING file
1920
# at the top-level directory of this distribution and at
@@ -2004,6 +2005,9 @@ exit 0
20042005

20052006

20062007
%changelog
2008+
* Tue Jan 28 2025 Kevin Lockwood <[email protected]> - 18.2.2-4
2009+
- Fix for CVE-2015-9251
2010+
20072011
* Tue Jan 01 2025 Sandeep Karambelkar <[email protected]> - 18.2.2-3
20082012
- Based on the package build logs, opentelemetry-cpp submodule is not being built
20092013
- Removing opentelemetry-cpp to address below CVEs as this submodule is not relevant

0 commit comments

Comments
 (0)