Remove CLM issues with commons-collections 97/33697/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 1 Mar 2018 23:00:06 +0000 (18:00 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 1 Mar 2018 23:00:16 +0000 (18:00 -0500)
We know that we are not configuring an LDAP PIP in our
use of the XACML open source. The LDAP implementation
uses Apache Velocity, which uses a very old version
of commons-collections that has security issues. So
we can exclude commons-collections from the build.

Issue-ID: POLICY-507
Change-Id: I735eae4fe507ad016d9b0b49e67536415edb9820
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
ONAP-PDP/pom.xml
ONAP-XACML/pom.xml

index d302c95..dc3953b 100644 (file)
                        <groupId>com.att.research.xacml</groupId>
                        <artifactId>xacml-pdp</artifactId>
                        <version>1.0.1</version>
+            <exclusions>
+            <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
+            are not using that PIP and can safely exclude this jar to resolve CLM issue.
+             -->
+              <exclusion>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+              </exclusion>
+            </exclusions>
                </dependency>
                <dependency>
                        <groupId>junit</groupId>
index c399e3f..b6f12c0 100644 (file)
                        <groupId>com.att.research.xacml</groupId>
                        <artifactId>xacml</artifactId>
                        <version>1.0.1</version>
+            <exclusions>
+            <!-- The LDAP PIP uses velocity which pulls this insecure jar in. We
+            are not using that PIP and can safely exclude this jar to resolve CLM issue.
+             -->
+              <exclusion>
+                <groupId>commons-collections</groupId>
+                <artifactId>commons-collections</artifactId>
+              </exclusion>
+            </exclusions>
                </dependency>
        </dependencies>
 </project>