Skip to content

Commit 84cceef

Browse files
committed
Add (multiple) suppression rules for CVE-2017-10355 as it's an FP.
1 parent 930e390 commit 84cceef

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

suppressions.xml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,50 @@
1111
<packageUrl regex="true">^pkg:maven/org\.apache\.xmlgraphics/batik\-i18n@.*$</packageUrl>
1212
<cve>CVE-2020-7791</cve>
1313
</suppress>
14+
15+
16+
<!-- NOTE: These 4 suppression rules are redundant. Will decide later which one to keep. -->
17+
<suppress>
18+
<notes><![CDATA[
19+
CVE-2017-10355 in library xercesImpl-2.12.2.jar, which is a transitive dependency, pulled in via AntiSamy.
20+
It is a Denial of Service vulnerability with a CVSSv3 score of 5.9.
21+
22+
We are suppressing this because it is believed by the ESAPI and AntiSamy teams that it is a false positive.
23+
Dependency Check itself doesn't flag this and neither does Snyk. Dependency Check reports it because it is reported
24+
directly by Sonatype's OSS Index. For futher details, see
25+
https://ossindex.sonatype.org/vulnerability/sonatype-2017-0348?component-type=maven&component-name=xerces%2FxercesImpl
26+
27+
OSS Index seems to have the wrong CPE. They have 'cpe:2.3:a:xerces:xercesImpl:2.12.2:*:*:*:*:*:*:*', whereas the CPE IDs
28+
associated with NVD are 'cpe:2.3:a:apache:xerces-j:2.12.2:*:*:*:*:*:*:*' and
29+
'cpe:2.3:a:apache:xerces2_java:2.12.2:*:*:*:*:*:*:*'.
30+
31+
Note also that this has been reported as GitHub issue #a 4614
32+
https://github.com/jeremylong/DependencyCheck/issues/4614
33+
]]></notes>
34+
<sha1>f051f988aa2c9b4d25d05f95742ab0cc3ed789e2</sha1>
35+
<cpe>cpe:/a:apache:xerces-j</cpe>
36+
</suppress>
37+
<suppress>
38+
<notes><![CDATA[
39+
CVE-2017-10355 in xercesImpl. See above for details.
40+
]]></notes>
41+
<sha1>f051f988aa2c9b4d25d05f95742ab0cc3ed789e2</sha1>
42+
<cpe>cpe:/a:apache:xerces2_java</cpe>
43+
</suppress>
44+
<suppress>
45+
<notes><![CDATA[
46+
CVE-2017-10355 in xercesImpl. See above for details.
47+
48+
This is the one that matches the OSS Index
49+
]]></notes>
50+
<packageUrl regex="true">^pkg:maven/xerces/xercesImpl@.*$</packageUrl>
51+
<vulnerabilityName>CVE-2017-10355</vulnerabilityName>
52+
</suppress>
53+
<suppress>
54+
<notes><![CDATA[
55+
FP per Dependency Check GitHub issue #4614
56+
]]></notes>
57+
<cve>CVE-2017-10355</cve>
58+
</suppress>
59+
1460
</suppressions>

0 commit comments

Comments
 (0)