diff --git a/build.gradle b/build.gradle
index ebb340ff41c..998809db6cd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -124,7 +124,7 @@ subprojects {
commonsIoVersion = '2.18.0'
commonsMathVersion = '3.6.1'
junitVersion = '5.11.3'
- log4jVersion = '2.23.1'
+ log4jVersion = '2.24.2'
mockitoVersion = '4.11.0'
hamcrestVersion = '3.0'
xmlbeansVersion = '5.2.1'
diff --git a/build.xml b/build.xml
index 5bcd827a4d6..7d11a8c99ae 100644
--- a/build.xml
+++ b/build.xml
@@ -268,7 +268,7 @@ under the License.
-
+
@@ -288,7 +288,7 @@ under the License.
-
+
@@ -2581,9 +2581,9 @@ under the License.
-
-
-
+
+
+
diff --git a/osgi/pom.xml b/osgi/pom.xml
index 060f7b8de60..ed50cfebe42 100644
--- a/osgi/pom.xml
+++ b/osgi/pom.xml
@@ -231,7 +231,7 @@
org.apache.logging.log4j
log4j-core
- 2.23.1
+ 2.24.2
test