Update dunglas/frankenphp Docker tag to v1.13.5 #270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/dunglas-frankenphp-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR contains the following updates:
1.13.4-php8.5.12-alpine→1.13.5-php8.5.12-alpineRelease Notes
php/frankenphp (dunglas/frankenphp)
v1.13.5Compare Source
FrankenPHP 1.13.5 is a security release. It fixes 17 vulnerabilities in FrankenPHP. The most severe let
php_serverrun an uploaded non-PHP file as PHP. Several others affect the defaultphp_serverconfiguration: an open redirect, an HTTP/2Hostspoofing issue, a crash a client can trigger with the official Docker images' PHP settings, and slow request bodies that block every PHP thread. This release also upgrades to Caddy 2.11.9, which brings security fixes in Caddy itself, and to Mercure 1.1.6. Upgrading is strongly recommended.🔒 Security
php_server: A file whose name doesn't end in asplitextension could be run as PHP, for instance/uploads/photos.php.php/avatar.jpg. An attacker able to upload a file under the document root could execute it (GHSA-j99q-3wr8-xj43).php_server: The trailing-slash redirect for directories echoed the raw request path, so//attacker.example/..%2fblogredirected to another host. The redirect is now relative, like Caddy'sphp_fastcgi(GHSA-jvmv-5538-pqpg).hostheader field sent next to:authorityset$_SERVER['HTTP_HOST']to a host other than the one Caddy routed and access-checked the request on (GHSA-2725-rh2w-9j9w).request_body_timeout: The timeout didn't stop slow request bodies, so an unauthenticated client could block every PHP thread with one slow connection per thread. Fixed by Caddy 2.11.8 and later (GHSA-j45x-h238-h4xx).max_input_varsand PHP's default settings, crashed the process with a segmentation fault (GHSA-5359-vg53-5464).exit()ordie()with a negative status, such asdie(-1), made FrankenPHP panic and stop (GHSA-q6vv-3p75-53wr)./admin/tool.php/../../missing.php, let requests run a script that a Caddypathrule was meant to deny (GHSA-2x4j-r638-wxff). On Windows, the same check now also covers backslashes by @dunglas in #2810.env: A client'sAuthorization: Basicheader replaced theREMOTE_USERvalue set withenv, and four other variables also overrodeenvvalues. Only 1.12.0 and later are affected (GHSA-388m-835f-7723).php_serverorphpdirective in a Caddy named route could run with the root,envvalues and workers of another site. Only 1.13.0 and later are affected (GHSA-g7pw-whv8-97j7).php_serverwith a workermatchrule could serve the source of scripts using an extrasplitextension, or of any script behind some rewrites (GHSA-v7hf-4gqv-hf8p).php_serverserved the Caddyfile stored in the document root (GHSA-xh92-4p94-ch7x).PATH_INFO: Functions such asgetlastmod()and session cache limiters let clients probe the existence and modification time of files under the document root (GHSA-g9v4-rp77-rv76).Workers.SendRequest()ran arbitrary files below the working directory when its worker wasn't running (GHSA-cp2q-fc46-38f5), andWorkers.SendMessage()freed azvalowned by the caller (GHSA-28vm-87fh-3px5). Only custom builds linking a Go extension that uses these experimental APIs are affected.Most of these vulnerabilities were found by Anthropic's OSS Scanner.
⚠️ Breaking Change
$_ENV), the request body, response headers and output, the session and the URL rewriter.strtok(),http_get_last_response_headers(),error_get_last()and the libxml errors persist again, like userland state does. Callerror_clear_last(),libxml_clear_errors()orhttp_clear_last_response_headers()if you need a clean state by @dunglas in #2790.✨ New Features
$_SERVER['SERVER_ADDR']with the IP address that accepted the connection, like Caddy's FastCGI transport, nginx and Apache by @dunglas in #2809.🐛 Bug Fixes
413when the request body exceeds Caddy'srequest_body max_sizeinstead of passing a truncated body to PHP by @dunglas in #2785.404 No input file specified.when the script can't be opened, like php-fpm, instead of a200with a fatal error by @dunglas in #2791.PDO::ATTR_PERSISTENTconnections, when a PHP thread exits. With PHP 8.4 and later, each worker restart leaked them, until the database refused new connections by @andreasisaak in #2812.RestartWorkers(), config reloads) by @aguinaldotupy in #2788.SendRequest()reaches workers declared without a name, andSendMessage()returnsErrNotRunningafter shutdown instead of waiting forever by @nicolas-grekas in #2786.error_get_last(), as with FPM by @AlliBalliBaba in #2792.php_serverkeeps returning Caddy's 404 for unknown paths in sites without anindex.phpby @dunglas in #2814.⚡ Performance Improvements
SCRIPT_FILENAMEby @andreybolonin in #2794.📖 Documentation
🙏 Sponsor the Maintainers
The "vulnapocalypse" caused by AI adds a lot of work for us: AI-powered scanners now report vulnerabilities faster than ever, and every report has to be reproduced, fixed and disclosed by a maintainer. This release alone fixes 17 advisories. Thank you to our sponsors, who make this work possible!
If you or your company rely on FrankenPHP, please consider sponsoring its maintainers:
💖 New Contributors
Full Changelog: https://github.com/php/frankenphp/compare/v1.13.4...v1.13.5
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Mend Renovate CLI.
mentioned in issue #1
mentioned in commit
84b0b83b46