diff --git a/build.gradle b/build.gradle
index d2c95b0104..d21802d8d3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -124,7 +124,7 @@ subprojects {
commonsIoVersion = '2.14.0'
commonsMathVersion = '3.6.1'
junitVersion = '5.10.0'
- log4jVersion = '2.20.0'
+ log4jVersion = '2.21.0'
mockitoVersion = '4.11.0'
hamcrestVersion = '2.2'
xmlbeansVersion = '5.1.1'
diff --git a/build.xml b/build.xml
index 385bc73988..f81c89d0f6 100644
--- a/build.xml
+++ b/build.xml
@@ -268,7 +268,7 @@ under the License.
-
+
@@ -288,7 +288,7 @@ under the License.
-
+
diff --git a/osgi/pom.xml b/osgi/pom.xml
index 770fff480b..5b4d69c0dd 100644
--- a/osgi/pom.xml
+++ b/osgi/pom.xml
@@ -231,7 +231,7 @@
org.apache.logging.log4j
log4j-core
- 2.20.0
+ 2.21.0
test