Nixpkgs Security Tracker

Login with GitHub

Suggestions search

With package: frankenphp

Found 2 matching suggestions

updated 3 weeks, 1 day ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
FrankenPHP leaks session data between requests in worker mode

FrankenPHP is a modern application server for PHP. Prior to 1.11.2, when running FrankenPHP in worker mode, the $_SESSION superglobal is not correctly reset between requests. This allows a subsequent request processed by the same worker to access the $_SESSION data of the previous request (potentially belonging to a different user) before session_start() is called. This vulnerability is fixed in 1.11.2.

Affected products

frankenphp
  • ==< 1.11.2

Matching in nixpkgs

Package maintainers

Upstream advisory: https://github.com/php/frankenphp/security/advisories/GHSA-r3xh-3r3w-47gp
Upstream patch: https://github.com/php/frankenphp/commit/24d6c991a7761b638190eb081deae258143e9735
updated 3 weeks, 1 day ago by @LeSuisse Activity log
  • Created automatic suggestion
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
FrankenPHP affected by Path Confusion via Unicode casing in CGI path splitting allows execution of arbitrary files

FrankenPHP is a modern application server for PHP. Prior to 1.11.2, FrankenPHP’s CGI path splitting logic improperly handles Unicode characters during case conversion. The logic computes the split index (for finding .php) on a lowercased copy of the request path but applies that byte index to the original path. Because strings.ToLower() in Go can increase the byte length of certain UTF-8 characters (e.g., Ⱥ expands when lowercased), the computed index may not align with the correct position in the original string. This results in an incorrect SCRIPT_NAME and SCRIPT_FILENAME, potentially causing FrankenPHP to execute a file other than the one intended by the URI. This vulnerability is fixed in 1.11.2.

Affected products

frankenphp
  • ==< 1.11.2

Matching in nixpkgs

Package maintainers

Upstream advisory: https://github.com/php/frankenphp/security/advisories/GHSA-g966-83w7-6w38
Upstream patch: https://github.com/php/frankenphp/commit/04fdc0c1e8fde94e2c1ad86217e962c88d27c53e