diff --git a/spring-boot-modules/spring-boot-logging-log4j2/pom.xml b/spring-boot-modules/spring-boot-logging-log4j2/pom.xml
index 4422405187f3..8cce27176f0d 100644
--- a/spring-boot-modules/spring-boot-logging-log4j2/pom.xml
+++ b/spring-boot-modules/spring-boot-logging-log4j2/pom.xml
@@ -80,7 +80,7 @@
com.baeldung.springbootlogging.SpringBootLoggingApplication
1.3.8.RELEASE
1.1.16
- 1.18.4
+ 1.18.42