jeremylong / DependencyCheck

OWASP dependency-check is a software composition analysis utility that detects publicly disclosed vulnerabilities in application dependencies.
https://owasp.org/www-project-dependency-check/
Apache License 2.0
6.38k stars 1.27k forks source link

False Positive on Oracle JDBC drivers(detects Oracle Database) #3524

Closed wolframhaussig closed 3 years ago

wolframhaussig commented 3 years ago

In 2020, the coordinates of the Oracle JDBC libraries changed: https://medium.com/oracledevs/all-in-and-new-groupids-oracle-jdbc-drivers-on-maven-central-a76d545954c6

When using the new coordinates the ojdbc library and its dependencies are recognised as Oracle Database which breaks our builds. Currently, we are using ojdbc8 12.2.0.1: https://mvnrepository.com/artifact/com.oracle.database.jdbc/ojdbc8/12.2.0.1

Example

False positive on library ojdbc8-12.2.0.1.jar - reported as:

This also affects the dependencies of ojdbc: image

jeremylong commented 3 years ago

Thanks for the report. In the meantime you can use a local suppression file: https://jeremylong.github.io/DependencyCheck/general/suppression.html

Also, consider providing a PR to resolve the FP.