Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Update manager base image and fix CA certificates vulnerability (#3473)

Wouter Born662924d3d3d3
diff --git a/.grype/config.yaml b/.grype/config.yaml
new file mode 100644
index 000000000..4a191445c
--- /dev/null
+++ b/.grype/config.yaml
@@ -0,0 +1,6 @@
+ignore:
+ - vulnerability: CVE-2026-91403
+ package:
+ name: java-21-openjdk-headless
+ type: rpm
+ reason: "Remediated by RHSA-2026:88455 via ca-certificates; Grype still flags the OpenJDK RPM."
diff --git a/balena/manager.Dockerfile b/balena/manager.Dockerfile
index 16067937e..b6d2e0aec 100644
--- a/balena/manager.Dockerfile
+++ b/balena/manager.Dockerfile
@@ -1,4 +1,4 @@
-FROM registry.access.redhat.com/ubi10/openjdk-21-runtime:1.24-16
+FROM registry.access.redhat.com/ubi10/openjdk-21-runtime:1.24-17
# Add git commit label must be specified at build time using --build-arg GIT_COMMIT=dadadadadad
ARG GIT_COMMIT=unknown
@@ -90,3 +90,6 @@ RUN chmod +x /entrypoint.sh
COPY heapdump-rename.sh /heapdump-rename.sh
RUN chmod +x /heapdump-rename.sh
ENTRYPOINT ["/entrypoint.sh"]
+
+# Update CA certificates to address CVE-2026-114406 until the base image includes the fix
+RUN microdnf upgrade -y ca-certificates && microdnf clean all
diff --git a/manager/Dockerfile b/manager/Dockerfile
index 7abc3ac88..077ff4d4f 100644
--- a/manager/Dockerfile
+++ b/manager/Dockerfile
@@ -1,4 +1,4 @@
-FROM registry.access.redhat.com/ubi10/openjdk-21-runtime:1.24-16
+FROM registry.access.redhat.com/ubi10/openjdk-21-runtime:1.24-17
# Add git commit label must be specified at build time using --build-arg GIT_COMMIT=dadadadadad
ARG GIT_COMMIT=unknown
@@ -188,3 +188,6 @@ RUN chmod +x /entrypoint.sh
COPY heapdump-rename.sh /heapdump-rename.sh
RUN chmod +x /heapdump-rename.sh
ENTRYPOINT ["/entrypoint.sh"]
+
+# Update CA certificates to address CVE-2026-114406 until the base image includes the fix
+RUN microdnf upgrade -y ca-certificates && microdnf clean all