Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 800 Bytes

maven_osv.md

File metadata and controls

17 lines (13 loc) · 800 Bytes

Maven OSV Scanner

Finds vulnerable dependencies in a Maven project. By default, MavenOSV Scanner pulls advisory information from OSV - Database for open source vulnerabilities to compare against the dependencies found in pom.xml.

Configuration

When a CVE is present in a dependency, the best course of action is to upgrade the dependency to a patched version. However, if there is currently no patch available or its a false positive you can use the following configuration option to ignore a particular CVE.

scanner_configs:
  MavenOSV:
    exceptions:
      - advisory_id: CVE-2020-26945
        changed_by: security-team
        notes: Currently no patch exists and determined that this vulnerability is not exploitable.
        expiration: "2022-12-31"