Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- version: 11.0.0
tarball: https://github.com/owncloud/core/releases/download/v11.0.0/owncloud-complete-20260730.tar.bz2
base: v24.04
trivy-ignore: v24.04/11.0.0/.trivyignore
trivy-ignore: v24.04/11.0.0/.trivyignore.yaml
smoke-version-jq: ".versionstring"

update-docker-hub-description:
Expand Down
9 changes: 9 additions & 0 deletions v22.04/Dockerfile.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ WORKDIR /var/www/owncloud
RUN find /var/www/owncloud \( \! -user www-data -o \! -group root \) -print0 | xargs -r -0 chown www-data:root && \
chmod g+w /var/www/owncloud /var/www/owncloud/.htaccess

# Apps ship binaries in their own bin/ directory (e.g.
# migrate_to_ocis/bin/rclone_linux_amd64). Tarballs built before
# owncloud/server-release#52 normalized every file to 0644, so those binaries
# arrive non-executable: the app cannot run them, and the image scan cannot see
# them either - Trivy's gobinary analyzer only inspects files that have an exec
# bit. -mindepth/-maxdepth 3 keeps this to apps/<app>/bin/<file>, leaving
# vendored scripts alone.
RUN find /var/www/owncloud/apps -mindepth 3 -maxdepth 3 -type f -path '*/bin/*' -exec chmod 755 {} \;

VOLUME ["/mnt/data"]
EXPOSE 8080

Expand Down
2 changes: 0 additions & 2 deletions v24.04/11.0.0/.trivyignore

This file was deleted.

53 changes: 53 additions & 0 deletions v24.04/11.0.0/.trivyignore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Accepted vulnerabilities for the 11.0.0 image scan.
#
# YAML rather than the plain format because it carries expired_at: an entry with
# a date stops suppressing once the date passes, so a temporary acceptance turns
# the scan red again instead of being buried. The plain and YAML formats cannot
# be mixed in one scan, hence the single file.
vulnerabilities:
- id: CVE-2024-51736
statement: Affects Windows only; this image is Linux.

# apps/migrate_to_ocis ships a prebuilt upstream rclone binary. Until the
# exec-bit fix in this image (and in owncloud/server-release) these findings
# were invisible: Trivy's gobinary analyzer only inspects files that have an
# exec bit, and the tarball shipped the binary 0644.
#
# The eight entries below are the go1.26.5 stdlib findings against upstream
# rclone v1.75.0, the newest release (2026-07-31). They are fixed in
# go 1.25.13 / 1.26.6, which no rclone release has been built with yet, so no
# available binary is free of them. All are denial of service / XSS class,
# none CRITICAL. Mirrors owncloud/migrate_to_ocis .trivyignore.yaml - drop
# both once rclone publishes a release built with go >= 1.26.6.
- id: CVE-2026-33818 # encoding/asn1: DoS via excessive recursion in Unmarshal
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-39821 # golang.org/x/net/idna: privilege escalation via Punycode label processing
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-46600 # golang.org/x/net/dns/dnsmessage: DoS via invalid DNS record parsing
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-56853 # net/http: DoS on unencrypted HTTP/2 connections
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-56858 # html/template: XSS via pathological input
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-56859 # encoding/xml: DoS via decoding recursion depth
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-56860 # net/url: DoS from quadratic complexity in path handling
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
- id: CVE-2026-56862 # crypto/tls: DoS via indefinite KeyUpdate messages
paths: ["var/www/owncloud/apps/migrate_to_ocis/bin/rclone_linux_amd64"]
statement: rclone v1.75.0 is built with go1.26.5; fixed in go 1.25.13/1.26.6, no rclone release ships it yet.
expired_at: 2026-11-01
9 changes: 9 additions & 0 deletions v24.04/Dockerfile.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ WORKDIR /var/www/owncloud
RUN find /var/www/owncloud \( \! -user www-data -o \! -group root \) -print0 | xargs -r -0 chown www-data:root && \
chmod g+w /var/www/owncloud /var/www/owncloud/.htaccess

# Apps ship binaries in their own bin/ directory (e.g.
# migrate_to_ocis/bin/rclone_linux_amd64). Tarballs built before
# owncloud/server-release#52 normalized every file to 0644, so those binaries
# arrive non-executable: the app cannot run them, and the image scan cannot see
# them either - Trivy's gobinary analyzer only inspects files that have an exec
# bit. -mindepth/-maxdepth 3 keeps this to apps/<app>/bin/<file>, leaving
# vendored scripts alone.
RUN find /var/www/owncloud/apps -mindepth 3 -maxdepth 3 -type f -path '*/bin/*' -exec chmod 755 {} \;

VOLUME ["/mnt/data"]
EXPOSE 8080

Expand Down
Loading