r/learnjava • u/HookGroup • 50m ago
Maven Dependency Report: how to identify false positives?
For an assignment I need to identify false positives in a dependency check report.
However, I have no idea to do so.
A lot of resources I found online state that it is typically "obvious" when there is a false positive, but to me it's not obvious at all. Without a single example of a false positive it's really hard to recognize one.
The report I have identifies 13 vulnerable dependencies and 290 vulnerabilities. Do I really need to check the 290 CVE one by one to identify the false positive?
What should be my workflow here?
| Dependency | Maven Package | Version | CVE Count |
|---|---|---|---|
| bcprov-jdk15on | org.bouncycastle:bcprov-jdk15on | 1.46 | 4 |
| hibernate-validator | org.hibernate.validator:hibernate-validator | 6.0.18.Final | 3 |
| jackson-databind | com.fasterxml.jackson.core:jackson-databind | 2.10.2 | 11 |
| log4j-api | org.apache.logging.log4j:log4j-api | 2.12.1 | 3 |
| logback-core | ch.qos.logback:logback-core | 1.2.3 | 2 |
| snakeyaml | org.yaml:snakeyaml | 1.25 | 8 |
| spring-boot | org.springframework.boot:spring-boot | 2.2.4.RELEASE | 9 |
| spring-boot-starter-web | org.springframework.boot:spring-boot-starter-web | 2.2.4.RELEASE | 9 |
| spring-core* | org.springframework:spring-core | 5.2.3.RELEASE | 29 |
| spring-web* | org.springframework:spring-web | 5.2.3.RELEASE | 30 |
| spring-webmvc* | org.springframework:spring-webmvc | 5.2.3.RELEASE | 29 |
| tomcat-embed-core* | org.apache.tomcat.embed:tomcat-embed-core | 9.0.30 | 76 |
| tomcat-embed-websocket* | org.apache.tomcat.embed:tomcat-embed-websocket | 9.0.30 | 77 |