Skip to content

Fix the Fuseki image vulnerabilities: Ubuntu 24.04, Shiro 3.0.1 and Micrometer 1.17.2 - #9

Merged
harshach merged 1 commit into
release/6.2.0from
openmetadata/fuseki-image-cves
Oct 23, 2026
Merged

harshach merged 1 commit into
release/6.2.0from
openmetadata/fuseki-image-cves

Conversation

@manerow

@manerow manerow commented Oct 23, 2026 •

Copy link
Copy Markdown

Part of open-metadata/openmetadata-collate#7811.

Problem

Scanners flag openmetadata/fuseki:6.2.0, which every SaaS cluster runs:

  • Fuseki 6.2.0 bundles Apache Shiro 2.2.1 (CVE-2026-56091) and Micrometer 1.17.0 (CVE-2026-59296) inside fuseki-server.jar. Neither library is renamed in the jar, and no Fuseki release ships fixed versions yet.
  • The Ubuntu 22.04 base has 176 Grype findings, 1 of them High (libssl3). 24 of them already have a fix in Ubuntu: the image was built on 11 October and never upgrades its packages.

CVE-2026-56091 only affects shiro-guice, which is not in the jar. We fix it anyway, because scanners match on the shiro-web version.

Change

  • Libraries. A new server stage swaps in Shiro 3.0.1 and Micrometer 1.17.2. It downloads them from Maven Central and checks each jar against server-jar/replacements.sha256. The rest of Apache's jar stays as released. Remove the stage once a Fuseki release ships fixed versions.
  • OS. The image moves to Ubuntu 24.04 (eclipse-temurin:21-jre-noble), and the final stage runs apt-get upgrade, so each build ships Ubuntu's latest security fixes. Ubuntu 24.04 has a default ubuntu user with uid 1000, so the Dockerfile removes it before creating fuseki with the same uid. Existing volumes keep working.
  • README. It explains the jar swap, and tells deployments to pin the immutable 6.2.0-<commit> tag.

Results (Grype, linux/amd64)

Image Findings High With a fix available
Published 6.2.0 176 1 24
This PR 114 0 0

The 114 left have no fix in Ubuntu 24.04 yet.

How it was tested

  • Fuseki 6.2.0 built from source against Shiro 3.0.1 and Micrometer 1.17.2. It compiles, and its 1,386 tests give the same results as on 2.2.1. The 108 calls Apache's classes make into both libraries are identical when recompiled.
  • test/smoke-test.sh: 93/93 on amd64. The arm64 build also works.
  • Access control: about 160 requests across three shiro.ini files give the same answers as the published image. The one difference: Shiro 3 matches URLs regardless of case, so /OPENMETADATA/sparql (a dataset that does not exist) now returns 404 instead of 401.
  • OpenMetadata's RDF integration tests give the same results against this image as against the published one.

Not in this PR

  • JDK 21.0.13 (CVE-2026-91415): Temurin has not published it for arm64 Linux or as a Docker image yet. The base tag floats, so a rebuild picks it up once it lands.
  • Rollout: merging publishes 6.2.0 and 6.2.0-<commit>. The Helm charts must then pin the immutable 6.2.0-<commit> tag, because nodes that already have 6.2.0 never pull it again (IfNotPresent).

@manerow
manerow force-pushed the openmetadata/fuseki-image-cves branch from b2267d4 to ff52bc6 Compare October 23, 2026 12:33
@manerow manerow changed the title Fix the Fuseki image vulnerabilities: distroless Debian 13, Shiro 3.0.1 and Micrometer 1.17.2 Fix the Fuseki image vulnerabilities: Ubuntu 24.04, Shiro 3.0.1 and Micrometer 1.17.2 Oct 23, 2026
@harshach
harshach merged commit 19b1526 into release/6.2.0 Oct 23, 2026
3 checks passed
harshach added a commit that referenced this pull request Nov 10, 2026
Brings in the RULES step (#5), protocol gaps (#4), the Guava bump (#14) and
the image fixes (#9-#12). Conflicts kept both sides: the direct-buffer cap
beside the core-dump flag in the entrypoint, the measured CLASSIFY envelope
beside the RULES limits in the README, and both import sets in Limits.
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.

2 participants