File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ subprojects{
6767 snakeyam= " 2.0"
6868 jjwtVersion= " 0.9.1"
6969 hibernateJpa21Api = " 1.0.2.Final"
70- log4j2Version= " 2.18.0 "
70+ log4j2Version= " 2.25.3 "
7171 slf4jVersion= " 1.7.32"
7272 esapiVersion= " 2.6.2.0"
7373
@@ -87,4 +87,20 @@ subprojects{
8787 tasks. withType(JavaCompile ) {
8888 options. encoding = " UTF-8"
8989 }
90+
91+ // CVE-2025-68161: force log4j2 >= 2.25.3 via Spring dependency-management plugin BOM override
92+ plugins. withId(' io.spring.dependency-management' ) {
93+ dependencyManagement {
94+ dependencies {
95+ dependencySet(group : ' org.apache.logging.log4j' , version : " $log4j2Version " ) {
96+ entry ' log4j-api'
97+ entry ' log4j-core'
98+ entry ' log4j-slf4j2-impl'
99+ entry ' log4j-jul'
100+ entry ' log4j-web'
101+ entry ' log4j-layout-template-json'
102+ }
103+ }
104+ }
105+ }
90106}
You can’t perform that action at this time.
0 commit comments