From 9ebc3f3515ca17cf6485ef600b8dbbaedab2a951 Mon Sep 17 00:00:00 2001 From: Michal Klos Date: Mon, 11 May 2026 12:37:39 +0200 Subject: [PATCH] chore: bump libvips (#12301) --- Dockerfile | 5 +++-- changelog/unreleased/security-upgrade-libvips-8.18.2.md | 6 ++++++ ocis/docker/Dockerfile.linux.amd64 | 5 +++-- ocis/docker/Dockerfile.linux.arm64 | 5 +++-- ocis/docker/Dockerfile.linux.debug.amd64 | 5 +++-- ocis/docker/Dockerfile.linux.debug.arm64 | 5 +++-- 6 files changed, 21 insertions(+), 10 deletions(-) create mode 100644 changelog/unreleased/security-upgrade-libvips-8.18.2.md diff --git a/Dockerfile b/Dockerfile index e932d55d84d..b2a6d16eafe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,8 +30,9 @@ RUN make ci-go-generate build ENABLE_VIPS=true FROM alpine:3.23.4 -RUN apk add --no-cache attr ca-certificates curl mailcap tree vips && \ - echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN apk add --no-cache attr ca-certificates curl mailcap tree \ + && apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \ + && echo 'hosts: files dns' >| /etc/nsswitch.conf LABEL maintainer="ownCloud GmbH " \ org.label-schema.name="ownCloud Infinite Scale" \ diff --git a/changelog/unreleased/security-upgrade-libvips-8.18.2.md b/changelog/unreleased/security-upgrade-libvips-8.18.2.md new file mode 100644 index 00000000000..08b22792710 --- /dev/null +++ b/changelog/unreleased/security-upgrade-libvips-8.18.2.md @@ -0,0 +1,6 @@ +Security: Upgrade libvips to 8.18.2 + +Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a +stack buffer overflow. + +https://github.com/owncloud/ocis/pull/12301 diff --git a/ocis/docker/Dockerfile.linux.amd64 b/ocis/docker/Dockerfile.linux.amd64 index 3464eab956b..7521e962cdd 100644 --- a/ocis/docker/Dockerfile.linux.amd64 +++ b/ocis/docker/Dockerfile.linux.amd64 @@ -3,8 +3,9 @@ FROM amd64/alpine:3.23.4 ARG VERSION="" ARG REVISION="" -RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips patch && \ - echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree patch \ + && apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \ + && echo 'hosts: files dns' >| /etc/nsswitch.conf LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.title="ownCloud Infinite Scale" \ diff --git a/ocis/docker/Dockerfile.linux.arm64 b/ocis/docker/Dockerfile.linux.arm64 index ef4ff834838..707d19f6c81 100644 --- a/ocis/docker/Dockerfile.linux.arm64 +++ b/ocis/docker/Dockerfile.linux.arm64 @@ -3,8 +3,9 @@ FROM arm64v8/alpine:3.23.4 ARG VERSION="" ARG REVISION="" -RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips patch && \ - echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree patch \ + && apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \ + && echo 'hosts: files dns' >| /etc/nsswitch.conf LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.title="ownCloud Infinite Scale" \ diff --git a/ocis/docker/Dockerfile.linux.debug.amd64 b/ocis/docker/Dockerfile.linux.debug.amd64 index 5565b9c7d1d..b79cdf0bdf1 100644 --- a/ocis/docker/Dockerfile.linux.debug.amd64 +++ b/ocis/docker/Dockerfile.linux.debug.amd64 @@ -3,8 +3,9 @@ FROM amd64/alpine:latest ARG VERSION="" ARG REVISION="" -RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree vips patch && \ - echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree patch \ + && apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \ + && echo 'hosts: files dns' >| /etc/nsswitch.conf LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.title="ownCloud Infinite Scale" \ diff --git a/ocis/docker/Dockerfile.linux.debug.arm64 b/ocis/docker/Dockerfile.linux.debug.arm64 index 34ee27b3942..def9f471cd3 100644 --- a/ocis/docker/Dockerfile.linux.debug.arm64 +++ b/ocis/docker/Dockerfile.linux.debug.arm64 @@ -3,8 +3,9 @@ FROM arm64v8/alpine:latest ARG VERSION="" ARG REVISION="" -RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree vips patch && \ - echo 'hosts: files dns' >| /etc/nsswitch.conf +RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree patch \ + && apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \ + && echo 'hosts: files dns' >| /etc/nsswitch.conf LABEL maintainer="ownCloud GmbH " \ org.opencontainers.image.title="ownCloud Infinite Scale" \