Skip to content

fix(ci): patch 4 transitive CVEs + consume analyzer override#4

Merged
ahincho merged 1 commit into
mainfrom
fix/owasp-cve-and-analyzer-override
Jul 13, 2026
Merged

fix(ci): patch 4 transitive CVEs + consume analyzer override#4
ahincho merged 1 commit into
mainfrom
fix/owasp-cve-and-analyzer-override

Conversation

@ahincho

@ahincho ahincho commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Aplica el mismo patrón validado en mask-utils#6 y api-standard#3:

  • \configurations.all { resolutionStrategy.eachDependency { ... } }\ fuerza httpcore 4.4.16, httpcore5 5.4.2, plexus-utils 3.5.1, commons-beanutils 1.11.0 globalmente. Sin esto el OWASP gate falla con los 4 CVEs (CVE-2026-54428, CVE-2026-54399, CVE-2025-67030 RCE, CVE-2025-48734 RCE).
  • \scanConfigurations = listOf(compileClasspath, runtimeClasspath)\ restringe el análisis a configuraciones que sí se propagan al consumidor.
  • Bloque \�nalyzers { ... }\ con data.directory + 19 analyzers off + consumer de \NOVA_OWASP_ANALYZER_OVERRIDE\ alineado con reusable-owasp-check.yml.

Local: \gradlew dependencyCheckAnalyze --no-daemon\ -> Found 0 vulnerabilities in project nova-mapper-utils, BUILD SUCCESSFUL in 23s.

…sable

Three changes, following the validated pattern from mask-utils PR#6
and api-standard PR#3:

1. configurations.all { resolutionStrategy.eachDependency { ... } }:
   force-patch httpcore 4.4.16, httpcore5 5.4.2, plexus-utils 3.5.1,
   commons-beanutils 1.11.0 globally so every classpath reflects the
   patched state. Without this the OWASP gate fails on the same 4 CVEs
   (CVE-2026-54428, CVE-2026-54399, CVE-2025-67030 RCE, CVE-2025-48734
   RCE) that surfaced in mask-utils#6.

2. scanConfigurations = listOf(compileClasspath, runtimeClasspath):
   restrict analysis to configurations that actually propagate to
   consumers so the gate reflects real consumer-facing exposure.

3. data.directory + analyzers { ... } + NOVA_OWASP_ANALYZER_OVERRIDE
   consumer: align with the shared reusable-owasp-check.yml contract.
   Reusable workflow exports the env var from inputs.analyzer-override
   (or vars.DEPENDENCY_CHECK_ANALYZERS); empty env var preserves the
   current behavior. Some Maven-only tokens (gogradle, yarn, pnpm,
   pipenv, poetry, pyinstall, setuptools, clang, haskell, mix, rebar,
   cargo) are accepted by the reusable workflow but no-op here because
   Gradle 12.2.2 dropped them.

Verified locally: gradlew dependencyCheckAnalyze --no-daemon ->
Found 0 vulnerabilities in project nova-mapper-utils, BUILD SUCCESSFUL
in 23s.
@ahincho
ahincho merged commit 530fdde into main Jul 13, 2026
7 checks passed
@ahincho
ahincho deleted the fix/owasp-cve-and-analyzer-override branch July 13, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant