Compare commits

..
1 Commits
Author SHA1 Message Date
Linus Gasser 0e2d8484ee Mitigation for PHP CVE
This includes the mitigations proposed by
https://www.php.net/archive/2026.php#2026-10-21-5
2026-10-21 16:19:16 +02:00
7 changed files with 21 additions and 8 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
export FPM_TUNE_VERSION=v5
export FPM_TUNE_VERSION=v6
export NGINX_CONF_VERSION=v9
export MY_CNF_VERSION=v6
export ENTRYPOINT_VERSION=v3
+1 -1
View File
@@ -2,7 +2,7 @@ version: "3.8"
services:
elasticsearch:
image: "docker.elastic.co/elasticsearch/elasticsearch:8.19.24"
image: "docker.elastic.co/elasticsearch/elasticsearch:8.19.23"
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
+3 -1
View File
@@ -6,7 +6,7 @@ services:
- whiteboard_jwt
whiteboard:
image: ghcr.io/nextcloud-releases/whiteboard:v2.1.2
image: ghcr.io/nextcloud-releases/whiteboard:v2.0.0
deploy:
labels:
- traefik.enable=true
@@ -24,6 +24,8 @@ services:
user: root
networks:
- proxy
ports:
- 3002:3002
secrets:
- whiteboard_jwt
environment:
+3 -3
View File
@@ -1,7 +1,7 @@
version: "3.8"
services:
web:
image: nginx:1.31.8
image: nginx:1.31.7
depends_on:
- app
configs:
@@ -95,7 +95,7 @@ services:
failure_action: rollback
order: start-first
labels:
- "coop-cloud.${STACK_NAME}.version=15.1.0+34.0.5-fpm"
- "coop-cloud.${STACK_NAME}.version=15.0.0+34.0.5-fpm"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
- "backupbot.backup.volumes.redis=false"
@@ -125,7 +125,7 @@ services:
cache:
image: redis:8.10.3-alpine
image: redis:8.10.2-alpine
networks:
- internal
volumes:
+9
View File
@@ -1,5 +1,14 @@
[www]
pm = dynamic
pm.max_children = {{ env "FPM_MAX_CHILDREN" }}
pm.start_servers = {{ env "FPM_START_SERVERS" }}
pm.min_spare_servers = {{ env "FPM_MIN_SPARE_SERVERS" }}
pm.max_spare_servers = {{ env "FPM_MAX_SPARE_SERVERS" }}
; Mitigations for CVE-2026-109618 / CVE-2026-109619 until the image ships
; PHP >= 8.5.12, see https://www.php.net/archive/2026.php#2026-10-21-5
php_admin_value[memory_limit] = -1
php_admin_value[post_max_size] = 32M
php_admin_value[upload_max_filesize] = 30M
php_admin_value[session.upload_progress.enabled] = 0
php_admin_value[fatal_error_backtraces] = 0
-2
View File
@@ -1,2 +0,0 @@
This release is to have a "logical" update to make sure
you know the php bug has been fixed.
+4
View File
@@ -0,0 +1,4 @@
Security: mitigates PHP RCE CVE-2026-109618 / CVE-2026-109619 (https://www.php.net/archive/2026.php#2026-10-21-5)
via the FPM pool config: memory_limit=-1, post_max_size=32M, upload_max_filesize=30M,
session.upload_progress.enabled=0, fatal_error_backtraces=0. PHP_MEMORY_LIMIT and PHP_UPLOAD_LIMIT
are overridden for web requests until the nextcloud image ships PHP >= 8.5.12.