Skip to content

Commit fb9b2cb

Browse files
committed
chore: add OWASP suppression for CVE-2023-35116 (false positive as per FasterXML/jackson-databind#3972)
1 parent 31858ae commit fb9b2cb

File tree

7 files changed

+45
-0
lines changed

7 files changed

+45
-0
lines changed

aws-serverless-java-container-core/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@
169169
<version>${dependencyCheck.version}</version>
170170
<configuration>
171171
<skipProvidedScope>true</skipProvidedScope>
172+
<suppressionFiles>
173+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
174+
</suppressionFiles>
172175
<failBuildOnCVSS>7</failBuildOnCVSS>
173176
<failOnError>false</failOnError>
174177
</configuration>

aws-serverless-java-container-jersey/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@
192192
<version>${dependencyCheck.version}</version>
193193
<configuration>
194194
<skipProvidedScope>true</skipProvidedScope>
195+
<suppressionFiles>
196+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
197+
</suppressionFiles>
195198
<failBuildOnCVSS>7</failBuildOnCVSS>
196199
<failOnError>false</failOnError>
197200
</configuration>

aws-serverless-java-container-spark/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@
114114
<version>${dependencyCheck.version}</version>
115115
<configuration>
116116
<skipProvidedScope>true</skipProvidedScope>
117+
<suppressionFiles>
118+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
119+
</suppressionFiles>
117120
<failBuildOnCVSS>7</failBuildOnCVSS>
118121
<failOnError>false</failOnError>
119122
</configuration>

aws-serverless-java-container-spring/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@
235235
<version>${dependencyCheck.version}</version>
236236
<configuration>
237237
<skipProvidedScope>true</skipProvidedScope>
238+
<suppressionFiles>
239+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
240+
</suppressionFiles>
238241
<failBuildOnCVSS>7</failBuildOnCVSS>
239242
<failOnError>false</failOnError>
240243
</configuration>

aws-serverless-java-container-springboot3/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@
265265
<version>${dependencyCheck.version}</version>
266266
<configuration>
267267
<skipProvidedScope>true</skipProvidedScope>
268+
<suppressionFiles>
269+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
270+
</suppressionFiles>
268271
<failBuildOnCVSS>7</failBuildOnCVSS>
269272
<failOnError>false</failOnError>
270273
</configuration>

aws-serverless-java-container-struts/pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@
182182
<version>${dependencyCheck.version}</version>
183183
<configuration>
184184
<skipProvidedScope>true</skipProvidedScope>
185+
<suppressionFiles>
186+
<suppressionFile>${project.basedir}/../owasp-suppression.xml</suppressionFile>
187+
</suppressionFiles>
185188
<failBuildOnCVSS>7</failBuildOnCVSS>
186189
<failOnError>false</failOnError>
187190
</configuration>

owasp-suppression.xml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one
4+
~ or more contributor license agreements. See the NOTICE file
5+
~ distributed with this work for additional information
6+
~ regarding copyright ownership. The ASF licenses this file
7+
~ to you under the Apache License, Version 2.0 (the
8+
~ "License"); you may not use this file except in compliance
9+
~ with the License. You may obtain a copy of the License at
10+
~
11+
~ http://www.apache.org/licenses/LICENSE-2.0
12+
~
13+
~ Unless required by applicable law or agreed to in writing,
14+
~ software distributed under the License is distributed on an
15+
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
~ KIND, either express or implied. See the License for the
17+
~ specific language governing permissions and limitations
18+
~ under the License.
19+
-->
20+
<suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.3.xsd">
21+
22+
<suppress>
23+
<notes><![CDATA[False positive as per https://github.com/FasterXML/jackson-databind/issues/3972]]></notes>
24+
<packageUrl regex="true">^pkg:maven/com.fasterxml.jackson.core/jackson-databind@.*$</packageUrl>
25+
<cve>CVE-2023-35116</cve>
26+
</suppress>
27+
</suppressions>

0 commit comments

Comments
 (0)