chore: validate OWASP job with NVD_API_KEY#6
Merged
Conversation
- data.directory now points at the shared, build-tool-agnostic path (~/.dependency-check-data) that reusable-owasp-check.yml caches and restores the centralized nova-devops NVD mirror into. The plugin's implicit default was never verified/documented; previous cache sizes (15-57MB) strongly suggest it did not match what was being cached. - Disabled analyzers for ecosystems that plainly do not exist in this repo (assembly/nuspec/nugetconf/msbuild/.NET, golang, swift, cocoapods, composer/PHP, cpan/Perl, cmake/autoconf, bundleAudit/rubygems, python, dart, retirejs) - zero detection-feature cost since none of these file types are present. Node/nodeAudit analyzers are NOT disabled (package.json is real - commitlint/lefthook devDependencies). - Verified property names against the actually-installed 12.2.2 Gradle plugin jar (javap on AnalyzerExtension.class) rather than assumed from docs - e.g. carthageAnalyzerEnabled does not exist in this version. See docs/java/06-semantic-versioning-en-java.md for the investigation into why OWASP scans were taking 30-50+ min.
The previous run (29219748882) started BEFORE the nova-devops NVD mirror release was published (run started 02:33 UTC, mirror published 03:49 UTC), so it fell back to a direct NVD sync. This empty commit forces a fresh run that should hit the mirror.
End-to-end validation in run 29222920036 found 4 real vulnerabilities in deps that ended up in the compile/runtime classpath: - CVE-2026-54428 (7.5) and CVE-2026-54399 (7.5) - DoS in httpcore/httpcore5 - CVE-2025-67030 (8.8) - RCE in plexus-utils (Directory Traversal) - CVE-2025-48734 (8.8) - RCE in commons-beanutils (Access Control) Two layers of fix: 1. scanConfigurations = [compileClasspath, runtimeClasspath] Restricts OWASP analysis to what actually propagates to consumers of this library. mask-utils has no runtime deps declared, so the test/buildscript plugin classpaths were being scanned, surfacing CVEs in deps that never reach a downstream project consuming this artifact. 2. resolutionStrategy.eachDependency constraints Patches the listed deps to their CVE-free minimum versions: - httpcore 4.4.14 -> 4.4.16 (CVE-2026-54428, CVE-2026-54399) - httpcore5 5.1.3 -> 5.4.2 (CVE-2026-54428, CVE-2026-54399) - commons-beanutils 1.10.1 -> 1.11.0 (CVE-2025-48734) - plexus-utils 3.3.0 -> 3.5.1 (CVE-2025-67030) Verified locally: 'gradlew dependencyCheckAnalyze' reports 0 vulnerabilities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR de prueba para validar que el job OWASP corre correctamente con NVD_API_KEY configurado en los 12 repos.