6 Commits
Author SHA1 Message Date
Jan Wagner 1a1e684730 chore: update Nextcloud to 34.0.4 2026-09-10 17:08:36 +02:00
Jan Wagner 56f8f82934 chore: update Nextcloud to 34.0.3 2026-08-14 13:35:42 +02:00
Jan Wagner a7f58f30db chore: update Nextcloud to 34.0.2 2026-07-23 15:21:50 +02:00
Jan Wagner 6db006b23c chore: update Nextcloud to 34.0.1 2026-06-26 09:16:40 +02:00
Hiren-Z a28dd4cf62 fix: adjust snuffleupagus for user_saml 2026-06-19 09:57:19 +02:00
hoellen 49df44d2ca chore: update PHP to 8.5 2026-06-09 12:59:03 +02:00
3 changed files with 10 additions and 8 deletions

No files matched your search

+4 -5
View File
@@ -1,6 +1,6 @@
# -------------- Build-time variables -------------- # -------------- Build-time variables --------------
ARG NEXTCLOUD_VERSION=34.0.0 ARG NEXTCLOUD_VERSION=34.0.4
ARG PHP_VERSION=8.4 ARG PHP_VERSION=8.5
ARG NGINX_VERSION=1.30 ARG NGINX_VERSION=1.30
ARG ALPINE_VERSION=3.23 ARG ALPINE_VERSION=3.23
@@ -10,8 +10,8 @@ ARG SNUFFLEUPAGUS_VERSION=0.13.0
ARG UID=1000 ARG UID=1000
ARG GID=1000 ARG GID=1000
# nextcloud-34.0.0.tar.bz2 # nextcloud-34.0.4.tar.bz2
ARG SHA256_SUM="36c557cedc2a1a12cd68cffe535f21350a02cbd4ff60dd7a9dae3959c7873be4" ARG SHA256_SUM="00f226e6364f96e0918ab06157158f66601b8cedc25af777f5ee5a3056f42b83"
# Nextcloud Security <security@nextcloud.com> (D75899B9A724937A) # Nextcloud Security <security@nextcloud.com> (D75899B9A724937A)
ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A" ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
@@ -62,7 +62,6 @@ RUN apk -U upgrade \
bz2 \ bz2 \
intl \ intl \
ldap \ ldap \
opcache \
pcntl \ pcntl \
pdo_mysql \ pdo_mysql \
pdo_pgsql \ pdo_pgsql \
@@ -1,4 +1,3 @@
zend_extension=opcache.so
opcache.enable=1 opcache.enable=1
opcache.enable_cli=1 opcache.enable_cli=1
opcache.memory_consumption=<OPCACHE_MEM_SIZE> opcache.memory_consumption=<OPCACHE_MEM_SIZE>
@@ -15,7 +15,10 @@ sp.harden_random.enable();
# Globally activate strict mode # Globally activate strict mode
# https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict # https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.strict
sp.global_strict.enable(); # Disabled: PHP 8.5 expanded strict_types=1 to reject implicit object->string
# coercion via __toString(). This breaks symfony/console Helper::substr() which
# returns UnicodeString from a :string method. No per-file exclusion available.
# sp.global_strict.enable();
# Prevent unserialize-related exploits # Prevent unserialize-related exploits
# sp.unserialize_hmac.enable(); # sp.unserialize_hmac.enable();
@@ -34,7 +37,7 @@ sp.sloppy_comparison.enable();
# https://snuffleupagus.readthedocs.io/features.html#protection-against-cross-site-request-forgery # https://snuffleupagus.readthedocs.io/features.html#protection-against-cross-site-request-forgery
sp.cookie.name("PHPSESSID").samesite("lax"); sp.cookie.name("PHPSESSID").samesite("lax");
# Nextcloud whitelist (tested with Nextcloud 27.0.1) # Nextcloud whitelist (tested with Nextcloud 34.0.0)
sp.disable_function.function("function_exists").param("function").value("proc_open").filename("/nextcloud/3rdparty/symfony/console/Terminal.php").allow(); sp.disable_function.function("function_exists").param("function").value("proc_open").filename("/nextcloud/3rdparty/symfony/console/Terminal.php").allow();
sp.disable_function.function("function_exists").param("function").value("exec").filename("/nextcloud/lib/private/legacy/OC_Helper.php").allow(); sp.disable_function.function("function_exists").param("function").value("exec").filename("/nextcloud/lib/private/legacy/OC_Helper.php").allow();
sp.disable_function.function("function_exists").param("function").value("exec").filename("/nextcloud/lib/public/Util.php").allow(); sp.disable_function.function("function_exists").param("function").value("exec").filename("/nextcloud/lib/public/Util.php").allow();
@@ -49,6 +52,7 @@ sp.disable_function.function("exec").param("command").value("apachectl -M | grep
# Nextcloud inherently enables XXE-Protection since 27.0.1, therefore, drop setting a new external entity loader # Nextcloud inherently enables XXE-Protection since 27.0.1, therefore, drop setting a new external entity loader
sp.disable_function.function("libxml_set_external_entity_loader").filename("/nextcloud/lib/base.php").allow(); sp.disable_function.function("libxml_set_external_entity_loader").filename("/nextcloud/lib/base.php").allow();
sp.disable_function.function("libxml_set_external_entity_loader").filename("/nextcloud/apps2/user_saml/lib/Helper/TXmlHelper.php").allow();
sp.disable_function.function("libxml_set_external_entity_loader").drop(); sp.disable_function.function("libxml_set_external_entity_loader").drop();
# Harden the `chmod` function (0777 (oct = 511, 0666 = 438) # Harden the `chmod` function (0777 (oct = 511, 0666 = 438)