File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
aws-serverless-java-container-struts2 Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 16
16
17
17
<properties >
18
18
<struts2 .version>2.5.26</struts2 .version>
19
+ <log4j .version>2.16.0</log4j .version>
19
20
</properties >
20
21
21
22
<dependencies >
37
38
</exclusion >
38
39
</exclusions >
39
40
</dependency >
41
+ <dependency ><!-- explicitly set log4j version as struts2-core contains the vulnerable one CVE-2021-44228 -->
42
+ <groupId >org.apache.logging.log4j</groupId >
43
+ <artifactId >log4j-api</artifactId >
44
+ <version >${log4j.version} </version >
45
+ <scope >runtime</scope >
46
+ </dependency >
47
+ <dependency ><!-- explicitly set log4j version as struts2-core contains the vulnerable one CVE-2021-44228 -->
48
+ <groupId >org.apache.logging.log4j</groupId >
49
+ <artifactId >log4j-core</artifactId >
50
+ <version >${log4j.version} </version >
51
+ <scope >runtime</scope >
52
+ </dependency >
40
53
41
54
<dependency >
42
55
<groupId >org.apache.struts</groupId >
You can’t perform that action at this time.
0 commit comments