Skip to content

IHTSDO/snomed-parent-owasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OWASP CVE suppression of false positives

Only do this if you are sure the CVE is a false positive and is no risk to the organisation!

You might want to use one of these resources to decide the severity of the CVE and what action to take:

Also, this page contains a full explanation of how to suppress false positives; here is a summary:

  1. Run OWASP Maven goal: Run this for your project, it should fail:
mvn dependency-check:check
  1. Although it will have failed it will have generated a report in the target folder of the project: target/dependency-check-report.html.

  2. Open the HTML report.

  3. Copy the XML snippet: The XML snippet can be found by clicking the (1) suppress button next to the CVE in the report. A dialog opens, use (2) Control-C to copy the snippet.

Suppress icon

  1. Here is another example of an XML snippet:
<suppress>
    <notes><![CDATA[
   file name: woodstox-core-6.5.1.jar
   ]]></notes>
    <packageUrl regex="true">^pkg:maven/com\.sun\.xml\.bind\.jaxb/isorelax@.*$</packageUrl>
    <cve>CVE-2023-34411</cve>
</suppress>
  1. Open the supressions XML file: Edit this file src/main/resources/owasp-suppressions.xml.

  2. Paste the snippet: The XML snippet can be pasted to the end of the file before the </suppressions> end tag.

  3. Update pom.xml versions: You need to make 3 changes.

    1. Update this project's version by editing the pom.xml and increasing the <version> tag accordingly.
    2. In snomed-parent-bom's pom.xml find this tag <snomed-parent-owasp.version> near the top of the file. And set the version to the same as you used in the previous step.
    3. Optional: While editing the snomed-parent-bom's pom.xml also increase its <version>.

About

OWASP CVE suppression of false positives

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published