mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 10:59:59 +00:00
#1259 moved the interim CVE-2026-109618 mitigation (memory_limit = -1) out of the shared hardening.ini into memory-unlimited.ini and mounted it only in the roles whose images it had inventoried. Its branch predates #1263, which gave FusionDirectory the php_hardening mount, so after both merged FusionDirectory ran with the image default of 128M again. A conf.d mount would not have fixed it: the nfrastack image writes php_admin_value[memory_limit] into its FPM pool (/etc/php7/pools.d/www/www-settings.conf) from PHP_MEMORY_LIMIT, and a pool php_admin_value outranks every conf.d ini. Measured on main: CLI 128M, FPM 128M. So even before #1259 the hardening ini only ever lifted the CLI limit. nfrastack/fusiondirectory:1.5 runs PHP 7.4.33 on Alpine 3.15, end of life and never patched, so the role carries the mitigation until it moves to a PHP 8 image. - Set PHP_MEMORY_LIMIT=-1 in templates/env.j2. The image seds it into php.ini and the pool, so CLI and FPM both report -1. - The root TODO lists FusionDirectory with the image and the reason it uses the variable instead of the mount; the role TODO names which setting carries which CVE mitigation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
900 B
900 B
To-dos
- Move off PHP 7.4. The pinned
nfrastack/fusiondirectory:1.5image builds onghcr.io/nfrastack/container-nginx-php-fpmwith PHP 7.4 on Alpine 3.15, which is end of life and gets no fix for CVE-2026-109618 and CVE-2026-109619.- No FusionDirectory release runs on a supported PHP yet: upstream certifies 1.4 to 1.6 for PHP 7.4 only,
nfrastack/container-fusiondirectorybuilds its image only on PHP 7.4 and Alpine 3.15, and the PHP 8 port lives on upstream's unreleasedphp8branch. Until then the shared hardening ini mounted at/etc/php7/conf.d/zz-infinito-hardening.inicarries the CVE-2026-109619 mitigation andPHP_MEMORY_LIMIT=-1intemplates/env.j2the CVE-2026-109618 one. Options: rebuild the image on upstream's firstphp8release, or buildnfrastack/container-fusiondirectoryagainst a pinnedphp8commit oncontainer-nginx-php-fpm8.4 before that release.
- No FusionDirectory release runs on a supported PHP yet: upstream certifies 1.4 to 1.6 for PHP 7.4 only,