Skip to content

fix(deps): update dependencies with known vulnerabilities - #19

Merged
TheMeinerLP merged 5 commits into
mainfrom
fix/vulnerable-dependencies
Oct 16, 2026
Merged

TheMeinerLP merged 5 commits into
mainfrom
fix/vulnerable-dependencies

Conversation

@TheMeinerLP

@TheMeinerLP TheMeinerLP commented Oct 16, 2026 •

Copy link
Copy Markdown

Description

The Trivy scans in the "Vulnerabilities" and "Container images" jobs fail on every pull request since the vulnerability database was refreshed. The dependency set itself has not changed since the last green run on main. This updates the affected libraries to the first release that fixes each advisory and moves the run stage base image to the current digest of the same tag.

Library From To Advisories
netty-bom 4.1.136.Final 4.1.137.Final CVE-2026-75595 (critical), CVE-2026-59903, CVE-2026-75596
jackson 2.21.5 2.21.7 CVE-2026-89407, CVE-2026-89425, CVE-2026-68497, CVE-2026-91776, CVE-2026-91777, CVE-2026-19032, CVE-2026-83557
bcprov-jdk18on (constraint) 1.84 1.85 CVE-2026-8763 (critical), CVE-2026-13506
httpcore5 (constraint) 5.4.2 5.4.3 CVE-2026-54399
httpcore5-h2 (constraint) 5.4 5.4.3 CVE-2026-54428
httpclient5 (constraint) 5.6.1 5.6.3 CVE-2026-64607
mariadb-java-client 3.5.8 3.5.9 CVE-2026-55856, CVE-2026-55857, CVE-2026-55858
eclipse-temurin:21-jre-noble (digest) libssl3t64 3.0.13-0ubuntu3.12 3.0.13-0ubuntu3.16 CVE-2026-84782

All updates stay on the same minor line. The netty and jetty lines stay where the AWS SDK and Javalin expect them. The image keeps its tag, entrypoint and paths, so the drop-in contract is unchanged.

The first run of this pull request showed further findings that the failing backend step had hidden before:

Component Change Reason
reposilite-frontend vue and @vue/server-renderer 3.5.35 to 3.5.44, axios 1.19.0 to 1.20.0, fast-uri 3.1.5 to 3.1.8, nanoid 3.3.17 to 3.3.20, source-map-js 1.2.1 to 1.2.2 (lockfile) GHSA-g2v6-rqmx-r4w6, CVE-2026-101899, CVE-2026-75899, CVE-2026-86472, CVE-2026-67213 and others
reposilite-site next 15.5.21 to 15.5.27, sharp 0.35.3 to 0.35.5, js-yaml 3.15.1 to 3.15.2 site dependency scan
dashboard image nginx-unprivileged 1.31-alpine moves to the current digest (alpine 3.24.2) fixed OpenSSL, expat, util-linux, pcre2 and tiff packages
bouncycastle bcpkix and bcutil constrained to 1.85 keep the modules on the same release as bcprov

This unblocks #16, #17 and #18 for the 1.1.1 patch release.

Type of change

  • fix - bug fix

How was this tested?

  • Trivy 0.70.0 rootfs scan of reposilite-backend/build/dependency-jars with the workflow flags (CRITICAL,HIGH,MEDIUM, exit code 1): 18 findings before, none after.
  • The new base image digest ships libssl3t64 3.0.13-0ubuntu3.16, checked from the image package list.
  • ./gradlew :reposilite-backend:test passes locally.
  • Trivy with the workflow flags exits 0 for the frontend lockfile, the site lockfile and a local build of the dashboard image.
  • npm run build in reposilite-frontend passes.
  • The server image build, its Trivy scan and the container tests run in CI on this pull request.

Checklist

  • Commit messages follow the Conventional Commits convention documented in CLAUDE.md (English, imperative, one of feat, fix, docs, refactor, test, build, ci, chore, perf)
  • Tests cover the change, or the change is not testable and I explained why above
  • ./gradlew build passes locally
  • Documentation and configuration samples are updated if the change is user-facing
  • Existing copyright headers are preserved; new files carry the appropriate header
  • No credentials, tokens or personal data are included in the diff

Raise backend dependencies to the first fixed release on their current
line. Direct declarations are bumped in place; transitive libraries are
raised through the netty platform or a Gradle constraints block with a
because() reason.

- io.netty netty-bom 4.1.136.Final -> 4.1.137.Final
  (CVE-2026-75595 critical, CVE-2026-59903, CVE-2026-75596)
- jackson 2.21.5 -> 2.21.7
  (CVE-2026-89407, CVE-2026-89425, CVE-2026-68497, CVE-2026-91776,
  CVE-2026-91777, CVE-2026-19032, CVE-2026-83557)
- bcprov-jdk18on 1.84 -> 1.85 (constraint)
  (CVE-2026-8763 critical, CVE-2026-13506)
- httpcore5 5.4.2 -> 5.4.3 (constraint) (CVE-2026-54399)
- httpcore5-h2 5.4 -> 5.4.3 (constraint) (CVE-2026-54428)
- httpclient5 5.6.1 -> 5.6.3 (constraint) (CVE-2026-64607)
- mariadb-java-client 3.5.8 -> 3.5.9
  (CVE-2026-55856, CVE-2026-55857, CVE-2026-55858)
Pin the run stage to the current eclipse-temurin:21-jre-noble digest.
The previous digest shipped libssl3t64 3.0.13-0ubuntu3.12, which is
affected by CVE-2026-84782; the current digest ships
3.0.13-0ubuntu3.16, the fixed release. The tag is unchanged.
@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Test results

 69 files   69 suites   6m 54s ⏱️
329 tests 328 ✅ 1 💤 0 ❌
331 runs  330 ✅ 1 💤 0 ❌

Results for commit a6e0eb2.

♻️ This comment has been updated with latest results.

reposilite-frontend/package-lock.json:
- vue 3.5.35 -> 3.5.44, with @vue/server-renderer 3.5.35 -> 3.5.44 (GHSA-g2v6-rqmx-r4w6)
- axios 1.19.0 -> 1.20.0 (12 advisories)
- fast-uri 3.1.5 -> 3.1.8 (6 advisories)
- nanoid 3.3.17 -> 3.3.20 (CVE-2026-67213)
- source-map-js 1.2.1 -> 1.2.2 (CVE-2026-93749)

The vue packages, @babel/* and postcss 8.5.26 -> 8.5.30 moved with their
parents; no package.json change was needed here.

reposilite-site (package.json and package-lock.json):
- next 15.5.21 -> 15.5.27, pinned in package.json (CVE-2026-75604, GHSA-2xp9-vwfh-vxw4, CVE-2026-94484, CVE-2026-94543)
- sharp 0.35.3 -> 0.35.5 (GHSA-rgj7-g3m4-5g8c, GHSA-wq5f-xc86-pv6w)
- js-yaml 3.15.1 -> 3.15.2 (CVE-2026-84375)
- nanoid 3.3.17 -> 3.3.20 (CVE-2026-67213)
- source-map-js 1.2.1 -> 1.2.2 (CVE-2026-93749)
Pin the run stage to the current nginxinc/nginx-unprivileged:1.31-alpine
digest. The tag is unchanged.

sha256:a6c3ec0c0d24...d347e -> sha256:378d0c32f656...39ca00

The previous digest shipped alpine 3.24.1 packages with fixed HIGH
advisories; the current digest is alpine 3.24.2 with:
- libssl3 and libcrypto3 3.5.7-r0 -> 3.5.9-r0 (CVE-2026-14456)
- libexpat 2.8.2-r0 -> 2.8.5-r0
- libuuid (util-linux) 2.42.1-r0 -> 2.42.3-r1
- pcre2 10.47-r1 -> 10.49-r0
- tiff 4.7.1-r0 -> 4.7.2-r0
- bcpkix-jdk18on 1.84 -> 1.85
- bcutil-jdk18on 1.84 -> 1.85

Both are aligned with bcprov-jdk18on 1.85, which already had a
constraint. The modules are released together, so the runtime
classpath no longer mixes versions.
@TheMeinerLP
TheMeinerLP merged commit 05a6160 into main Oct 16, 2026
8 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/vulnerable-dependencies branch October 16, 2026 12:18
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