Skip to content

chore(deps): fix vulnerable test and build dependencies, submit the Gradle dependency graph - #125

Merged
pashidlos merged 1 commit into
masterfrom
chore/deps-security
Nov 3, 2026
Merged

pashidlos merged 1 commit into
masterfrom
chore/deps-security

Conversation

@pashidlos

@pashidlos pashidlos commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Stacked on #124. Merge #124 first; GitHub then retargets this PR to master. No CI shows here yet: master's gradle.yml only runs for PRs into master. The required build check will run after the retarget. Until then: ./gradlew check on JDK 11 passes locally, and so does a JitPack build of this commit.

Why Dependabot showed 0 alerts: GitHub's dependency graph for this repo lists no Gradle packages at all, only Actions. Dependabot couldn't see any of our Gradle dependencies. I resolved the real trees (dependencies + buildEnvironment on Gradle 6.1 / JDK 11) and checked every coordinate against OSV.

packages known vulnerabilities
master 49 23 (in 13 packages)
this PR 36 0

The runtime dependencies (gson 2.9.0, slf4j-api 1.7.25) were already clean. The published POM is unchanged, so this needs no release.

Changes:

  • logback-classic 1.5.16 → 1.5.38 (test): CVE-2025-11226, CVE-2026-1225, CVE-2026-9828, CVE-2026-10532.
  • mockwebserver 4.11.0 → 4.12.0 (test): okio 3.6.0 (CVE-2023-3635), junit 4.13.2 (CVE-2020-15250). Gradle 6.1 picks the sources variant of okio's Kotlin multiplatform module, so resolvable configurations now request Category=library. Gradle 9 in build!: Gradle 9, Java 25, current dependencies and CI #122 doesn't need this and drops it.
  • Removed the shadow 5.2.0 plugin, which this build never used. It put log4j-core 2.11.0 (Log4Shell), ant 1.9.7, jdom2 2.0.6, plexus-utils 3.0.24 and commons-io 2.6 on the build classpath. JitPack publishes the plain jar either way: its 5.6.0 log shows only jar → publishToMavenLocal.
  • New dependency-submission.yml (gradle/actions/dependency-submission@v6): submits the Gradle dependency graph on pushes to master that touch build files, so Dependabot alerts cover Gradle dependencies from now on. It was tested on this branch with a temporary trigger. The snapshot was accepted and the run passed on Gradle 6.1.

Checked: ./gradlew check on JDK 11 (63 tests). A JitPack build of this commit succeeded, and its POM matches 5.6.0's (gson 2.9.0, slf4j-api 1.7.25).

🤖 Generated with Claude Code

@pashidlos
pashidlos changed the base branch from fix/api-url-trailing-slash to master November 3, 2026 06:50
…radle dependency graph

- logback-classic 1.5.16 -> 1.5.38 (CVE-2025-11226, CVE-2026-1225, CVE-2026-9828, CVE-2026-10532)
- mockwebserver 4.11.0 -> 4.12.0: okio 3.6.0 (CVE-2023-3635), junit 4.13.2 (CVE-2020-15250)
- drop the unused shadow 5.2.0 plugin and its log4j 2.11, ant 1.9.7, jdom2,
  plexus-utils and commons-io 2.6 build classpath; JitPack publishes the plain jar
- submit the Gradle dependency graph on pushes to master so Dependabot alerts
  see Gradle dependencies at all

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pashidlos
pashidlos force-pushed the chore/deps-security branch from 5ab124e to c30e6fb Compare November 3, 2026 06:50
@pashidlos pashidlos closed this Nov 3, 2026
@pashidlos pashidlos reopened this Nov 3, 2026
@pashidlos
pashidlos merged commit 3de8398 into master Nov 3, 2026
2 checks passed
@pashidlos
pashidlos deleted the chore/deps-security branch November 3, 2026 06:55
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