Access to add and change pages is restricted. See: https://cwiki.apache.org/confluence/display/OFBIZ/Wiki+access

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

OWASP Dependency Check is a tool for checking the Java libraries you use have no security issues. The current version is the 1.3.6 version.
Once the CVEs references are up to date, as of 2016/04/15, it takes 2+ minutes on a standart machine to check the dependencies.

Since it often reports false positives or issues not really needing attention, you need to maintain a suppression file.

I must say, it's a very tedious work to use OWASP Dependency Check to identify and possibly fix dependencies vulnerabilities. Not only there are many false positives or issues not really needing our attention, but some issues are also hidding others. So you need to check issues one by one and put the possible suppress information in the suppression file and run again the check, etc. Unfortunately it's the best solution we have so far. Because it's not enough to blindly update libraries we use by using the last version.

Here is the last suppress file .  It's commented inside to help having a clearer vision of the situation (which fortunately is not bad (wink))

The idea is that you can use it as a basis on your project and (if possible) help to keep it up to date. This can be done by sharing your experience here as a comment, or by updating this page as a Confluence contributor (as explained in the top banner you can ask on the OFBiz user ML else).

Here is the command line I use on Windows to start the check (I used the OWASP Dependency Check command line option on Windows):

WIP

This is still a WIP, the .gradle\caches may contain external jars unrelated to OFBiz. Notably Eclipse jars if you use the Gradle Eclipse task and more if you use Gradle for other reasons than OFBiz.

I need to have another look at OFBIZ-7930 - Getting issue details... STATUS

 

dependency-check -project OFBiz -scan C:\Users\Jacques\.gradle\caches --suppression C:\projectsASF\ofbiz\tools\security\dependency-check\suppress.xml --out C:\projectsASF\ofbiz\tools\security\dependency-check\

You can remove the "--suppression C:\tools\dependency-check\suppress.xml" part if you want to see the initial state

There is also the tools\security folder with some information in OFBiz trunk repo...

Trunk reports

Here is the last report file for the trunk

Here is the previous report file for the trunk (for now before Gradle insertion)

Stable reports

Here is the last report file for our last stable branche

Here is the previous report file for our last stable branches

  • No labels