From a7bf2763cd61a7f8541c199ba6daef73851dceda Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Fri, 2 Dec 2022 07:57:20 -0600 Subject: [PATCH] NIFI-10933 Upgraded OWASP Dependency Check from 7.1.2 to 7.3.2 - Removed non-applicable suppressions - Added suppressions for Elasticsearch client libraries and other false positives Signed-off-by: Pierre Villard This closes #6751. --- nifi-dependency-check-maven/suppressions.xml | 84 +++++++++++--------- pom.xml | 2 +- 2 files changed, 48 insertions(+), 38 deletions(-) diff --git a/nifi-dependency-check-maven/suppressions.xml b/nifi-dependency-check-maven/suppressions.xml index 90d67d1063..b2b982eb4d 100644 --- a/nifi-dependency-check-maven/suppressions.xml +++ b/nifi-dependency-check-maven/suppressions.xml @@ -19,26 +19,6 @@ ^pkg:maven/org\.apache\.nifi.*$ ^cpe:.*$ - - Meta MX HTTP Client is incorrectly identified as Netty - ^pkg:maven/com\.metamx/http\-client@.*$ - cpe:/a:netty:netty - - - Testcontainers MySQL is incorrectly identified with MySQL server - ^pkg:maven/org\.testcontainers/mysql@.*$ - cpe:/a:mysql:mysql - - - StumbleUpon Async is incorrectly identified as the JavaScript Async library - ^pkg:maven/com\.stumbleupon/async@.*$ - CVE-2021-43138 - - - HBase Async is incorrectly identified as the JavaScript Async library - ^pkg:maven/org\.hbase/asynchbase@.*$ - CVE-2021-43138 - Jetty SSLEngine is incorrectly identified with Jetty Server ^pkg:maven/org\.mortbay\.jetty/jetty\-sslengine@.*$ @@ -49,11 +29,6 @@ ^pkg:maven/com\.zendesk/mysql\-binlog\-connector\-java@.*$ cpe:/a:mysql:mysql - - Testcontainers MariaDB is incorrectly identified with MariaDB server - ^pkg:maven/org\.testcontainers/mariadb@.*$ - cpe:/a:mariadb:mariadb - Twill ZooKeeper is incorrectly identified with ZooKeeper server ^pkg:maven/org\.apache\.twill/twill\-zookeeper@.*$ @@ -65,14 +40,9 @@ ^CVE.*$ - H2 2 is not vulnerable to CVE-2018-14335 + CVE-2022-45868 requires running H2 from a command not applicable to project references ^pkg:maven/com\.h2database/h2@2.*$ - CVE-2018-14335 - - - Jetty apache-jsp is not part of Apache Tomcat server - pkg:maven/org.mortbay.jasper/apache-jsp@8.5.70 - cpe:/a:apache:tomcat + CVE-2022-45868 CVE-2016-1000027 does not apply to Spring Web 5.3.20 and later @@ -84,11 +54,6 @@ ^pkg:maven/org\.springframework\.security/spring\-security\-crypto@.*$ CVE-2020-5408 - - Spring Security Kerberos Core is an extension of the Spring Security project - ^pkg:maven/org\.springframework\.security\.kerberos/spring\-security\-kerberos.*$ - cpe:/a:vmware:spring_security - Servlet API 2.5 does not include Jetty Server vulnerabilities ^pkg:maven/org\.mortbay\.jetty/servlet\-api@.*$ @@ -204,4 +169,49 @@ ^pkg:maven/com\.amazonaws/aws\-java\-sdk\-swf\-libraries@.*$ CVE-2022-31159 + + Hive vulnerabilities do not apply to Iceberg Hive Metadata + ^pkg:maven/org\.apache\.iceberg/iceberg\-hive\-metastore@.*$ + cpe:/a:apache:hive + + + Elasticsearch Server vulnerabilities do not apply to Elasticsearch Plugin + ^pkg:maven/org\.elasticsearch\.plugin/.*?@7.6.0$ + ^cpe:/a:elastic.*$ + + + Elasticsearch Server vulnerabilities do not apply to elasticsearch-core + ^pkg:maven/org\.elasticsearch/elasticsearch\-core@7.6.0$ + ^cpe:/a:elastic.*$ + + + Elasticsearch Server vulnerabilities do not apply to elasticsearch + ^pkg:maven/org\.elasticsearch/elasticsearch@7.6.0$ + ^cpe:/a:elastic.*$ + + + Elasticsearch Server CVE-2020-7009 does not apply to elasticsearch client libraries + ^pkg:maven/org\.elasticsearch/elasticsearch.*$ + CVE-2020-7009 + + + Elasticsearch Server CVE-2020-7014 does not apply to elasticsearch client libraries + ^pkg:maven/org\.elasticsearch/elasticsearch.*$ + CVE-2020-7014 + + + Elasticsearch Server vulnerabilities do not apply to elasticsearch libraries + ^pkg:maven/org\.elasticsearch/elasticsearch\-.*?@7.6.0$ + ^cpe:/a:elastic.*$ + + + Elasticsearch Server vulnerabilities do not apply to elasticsearch-rest-client + ^pkg:maven/org\.elasticsearch\.client/elasticsearch\-.*?\-client@.*$ + ^cpe:/a:elastic.*$ + + + HTTP server vulnerabilities do not apply to Apache FTP Server + ^pkg:maven/org\.apache\.ftpserver/.*$ + cpe:/a:apache:apache_http_server + diff --git a/pom.xml b/pom.xml index 14a0b77e1f..468b5987d7 100644 --- a/pom.xml +++ b/pom.xml @@ -1158,7 +1158,7 @@ org.owasp dependency-check-maven - 7.1.2 + 7.3.2 false