Skip to content

v0.1.3: Ubuntu containers, FPM pool settings

Choose a tag to compare

@github-actions github-actions released this 22 Oct 21:42
· 6 commits to main since this release
7da6ab5

Docker containers built on Ubuntu now get a real answer instead of REVIEW, and the mitigation advice follows PHP's own advisory.

  • Ubuntu fixed builds. Ubuntu fixed PHP2Shell without changing the PHP version (24.04 stays on 8.3.6; the fix is 8.3.6-0ubuntu0.24.04.13), and Docker's ubuntu and debian images strip the package changelog. scan now compares the package with the fixed builds in USN-8948-1, on the same build line only, so Sury or other-release builds are never judged against it. Tested on a stock ubuntu:24.04 container in CI.
  • PHP-FPM pool settings. scan reads php_value / php_admin_value overrides for memory_limit, session.upload_progress.enabled and fatal_error_backtraces from the pool configs, shown as pool www: memory_limit=-1.
  • Mitigations in PHP's order. memory_limit=-1 in admin config first, then session.upload_progress.enabled=0 (and fatal_error_backtraces=0 on PHP 8.5), and blocking multipart only for applications that take no uploads.
  • Stale-data warning. Every report warns when the advisory data is more than 30 days old.

Full list: CHANGELOG.md.