Skip to content

Commit 8d8bcfd

Browse files
committed
Add suppressions for Dependency Check for CVEs that were examined and not exploitable.
1 parent 6a70ae7 commit 8d8bcfd

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

suppressions.xml

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,41 @@
3838
<cve>CVE-2020-9488</cve>
3939
</suppress>
4040
<suppress>
41-
<notes><![CDATA[file name: log4j-1.2.17.jar]]></notes>
42-
<packageUrl regex="true">^pkg:maven/log4j/log4j@.*$</packageUrl>
43-
<vulnerabilityName>CVE-2021-4104</vulnerabilityName>
41+
<notes><![CDATA[
42+
This suppresses CVE-2021-4104 for the log4j-1.2.17.jar dependency. ESAPI's
43+
default configuration uses ConsoleAppender rathere than JMSAppender and
44+
thus does not use Log4J 1 in a manner that makes it exploitable. ESAPI is unable to
45+
eliminate the dependency completely because our our deprecation policy.
46+
47+
For further details, please see:
48+
https://nvd.nist.gov/vuln/detail/CVE-2021-4104 and
49+
the ESAPI security advisory #6, "documentation/ESAPI-security-bulletin6.pdf", which
50+
provides a detailed analysis of this issue in ESAPI.
51+
]]></notes>
52+
<gav regex="true">^log4j:log4j:1\.2\.17$</gav>
53+
<cpe>cpe:/a:apache:log4j</cpe>
54+
<cve>CVE-2021-4104</cve>
4455
</suppress>
4556
<suppress>
46-
<notes><![CDATA[
47-
file name: neko-htmlunit-2.24.jar
57+
<notes><![CDATA[
58+
FIXME: Once we switch to Java 8 as the minimal JDK, update commons-io to the latest and delete this.
59+
60+
This CVE is path traversal issue in FileNameUtils.normalize(). That class is not used directly or indirectly
61+
by ESAPI. We are required to use an older version of Commons-IO because of a direct dependency on Antisamy.
4862
49-
CVE-2020-5529 is for net.sourceforge.htmlunit:htmlunit, not net.sourceforge.htmlunit:neko-htmlunit.
50-
As such, this is a false positive.
63+
file name: commons-io-2.6.jar
5164
]]></notes>
52-
<packageUrl regex="true">^pkg:maven/net\.sourceforge\.htmlunit/neko\-htmlunit@.*$</packageUrl>
53-
<cve>CVE-2020-5529</cve>
65+
<packageUrl regex="true">^pkg:maven/commons\-io/commons\-io@.*$</packageUrl>
66+
<cve>CVE-2021-29425</cve>
5467
</suppress>
5568
<suppress>
56-
<notes><![CDATA[
57-
file name: commons-io-2.6.jar
69+
<notes><![CDATA[
70+
ESAPI does not use this jar directly. It is a transitive dependency of AntiSamy and (as per Dave Wichers on
71+
the AntiSamy team), it does not impact AntiSamy, and therefore does not impact ESAPI.
5872
59-
TODO:FIXME: Not sure if you want this suppressed or not, but suppressing for now so mvn site can finish successfully.
60-
]]></notes>
61-
<packageUrl regex="true">^pkg:maven/commons\-io/commons\-io@.*$</packageUrl>
62-
<cve>CVE-2021-29425</cve>
73+
file name: batik-i18n-1.14.jar
74+
]]></notes>
75+
<packageUrl regex="true">^pkg:maven/org\.apache\.xmlgraphics/batik\-i18n@.*$</packageUrl>
76+
<cve>CVE-2020-7791</cve>
6377
</suppress>
6478
</suppressions>

0 commit comments

Comments
 (0)