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 1616
1717 <properties >
1818 <struts2 .version>2.5.26</struts2 .version>
19+ <log4j .version>2.16.0</log4j .version>
1920 </properties >
2021
2122 <dependencies >
3738 </exclusion >
3839 </exclusions >
3940 </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 >
4053
4154 <dependency >
4255 <groupId >org.apache.struts</groupId >
You can’t perform that action at this time.
0 commit comments