[ 
https://issues.apache.org/jira/browse/CASSANDRA-14612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424181#comment-17424181
 ] 

Ekaterina Dimitrova commented on CASSANDRA-14612:
-------------------------------------------------

[~stefan.miklosovic], [~brandon.williams], I just saw this failure on v3. in 
Jenkins and I guess it is related to this patch. Can you, please, check it? 
Thank you in advance!

https://ci-cassandra.apache.org/job/Cassandra-3.0-artifacts/231/jdk=jdk_1.8_latest,label=cassandra-arm64/console
*18:50:57*     [unzip] Expanding: 
/tmp/dependency-check/dependency-check-ant-6.3.1-release.zip into 
/tmp/dependency-check*18:50:57* *18:50:57* BUILD FAILED*18:50:57* 
/home/jenkins/jenkins-slave/workspace/Cassandra-3.0-artifacts/jdk/jdk_1.8_latest/label/cassandra-arm64/.build/build-owasp.xml:39:
 Error while expanding 
/tmp/dependency-check/dependency-check-ant-6.3.1-release.zip*18:50:57* 
java.util.zip.ZipException: archive is not a ZIP archive*18:50:57*         at 
org.apache.tools.zip.ZipFile.positionAtEndOfCentralDirectoryRecord(ZipFile.java:775)*18:50:57*
       at 
org.apache.tools.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:711)*18:50:57*
  at 
org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:456)*18:50:57*
        at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:216)*18:50:57*      
at org.apache.tools.ant.taskdefs.Expand.expandFile(Expand.java:190)*18:50:57*   
at org.apache.tools.ant.taskdefs.Expand.execute(Expand.java:157)*18:50:57*      
at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)*18:50:57*  
     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*18:50:57*   
     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)*18:50:57*
      at java.lang.reflect.Method.invoke(Method.java:498)*18:50:57*   at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)*18:50:57*
         at org.apache.tools.ant.Task.perform(Task.java:350)*18:50:57*   at 
org.apache.tools.ant.Target.execute(Target.java:449)*18:50:57*       at 
org.apache.tools.ant.Target.performTasks(Target.java:470)*18:50:57*  at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)*18:50:57*  
     at org.apache.tools.ant.Project.executeTarget(Project.java:1361)*18:50:57* 
     at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)*18:50:57*
        at 
org.apache.tools.ant.Project.executeTargets(Project.java:1251)*18:50:57*     at 
org.apache.tools.ant.Main.runBuild(Main.java:834)*18:50:57*  at 
org.apache.tools.ant.Main.startAnt(Main.java:223)*18:50:57*  at 
org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)*18:50:57*        at 
org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

> Please add OWASP Dependency Check to the build (pom.xml)
> --------------------------------------------------------
>
>                 Key: CASSANDRA-14612
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14612
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Build
>         Environment: All development, build, test, environments.
>            Reporter: Albert Baker
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>              Labels: build, security
>             Fix For: 3.0.26, 3.11.12, 4.0.2, 4.1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Please add OWASP Dependency Check to the build (pom.xml). OWASP DC makes an 
> outbound REST call to MITRE Common Vulnerabilities & Exposures (CVE) to 
> perform a lookup for each dependant .jar to list any/all known 
> vulnerabilities for each jar. This step is needed because a manual MITRE CVE 
> lookup/check on the main component does not include checking for 
> vulnerabilities in components or in dependant libraries.
> OWASP Dependency check : 
> https://www.owasp.org/index.php/OWASP_Dependency_Check has plug-ins for most 
> Java build/make types (ant, maven, ivy, gradle).
> Also, add the appropriate command to the nightly build to generate a report 
> of all known vulnerabilities in any/all third party libraries/dependencies 
> that get pulled in. example : mvn -Powasp -Dtest=false -DfailIfNoTests=false 
> clean aggregate
> Generating this report nightly/weekly will help inform the project's 
> development team if any dependant libraries have a reported known 
> vulnerailities. Project teams that keep up with removing vulnerabilities on a 
> weekly basis will help protect businesses that rely on these open source 
> componets.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to