Skip to content

FP CVEs since 12.1.8 when using a proxy for Maven Central #481

@Schmidor

Description

@Schmidor

Since an update to 12.1.8 we are getting false positives on org.openjfx:javafx-* dependencies with a classifier when using a Sonatype Proxy for libraries from maven-central.

  • the reported CVEs are related to openjdk, but only for older versions
  • using maven-central directly does not report any CVE
  • using the dependency without a classifier does not report any CVE
  • using 12.1.6 or older does not report any CVE

Debug log using a Sonatype Proxy with reported false positives:
sonatypeproxy.txt
Debug log using maven central, without the false positives:
mavencentral.txt

This might be related to

buildscript{
  repositories {
        maven { url = "https://plugins.gradle.org/m2/" }
  }
  dependencies {
        classpath 'org.owasp:dependency-check-gradle:12.1.8'
  }
}

plugins {
  id 'java'
  id 'eclipse'
}

apply plugin: 'org.owasp.dependencycheck'

repositories {
  maven {
  	url = 'https://..../repository/maven-central/'
  }
}

dependencies {
  ext.jfxVersion = '25'
  implementation "org.openjfx:javafx-base:${jfxVersion}:win"
  implementation "org.openjfx:javafx-controls:${jfxVersion}:win"
  implementation "org.openjfx:javafx-graphics:${jfxVersion}:win"
  implementation "org.openjfx:javafx-media:${jfxVersion}:win"
  implementation "org.openjfx:javafx-swing:${jfxVersion}:win"
  implementation "org.openjfx:javafx-web:${jfxVersion}:win"
}

dependencyCheck {
    failBuildOnCVSS = 6
    failOnError = true
    nvd{
      datafeedUrl = '...'
    }
    analyzers {
      assemblyEnabled=false
      ossIndex.username = "..."
      ossIndex.password = "..."
    }
}

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions