Compare 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
renovate-bot b340a80532 chore(deps): update nginx docker tag to v1.31.7 2026-10-18 19:22:20 +00:00
4 changed files with 15 additions and 2 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
@@ -1,7 +1,7 @@
version: "3.8"
services:
web:
image: nginx:1.31.6
image: nginx:1.31.7
depends_on:
- app
configs:
+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
+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.