GHSA-ccgp-ch9h-533f: FrankenPHP before 1.13.2 Denial of Service via Cyclic Array Conversion
FrankenPHP before 1.13.2 contains an uncontrolled recursion vulnerability in its PHP-to-Go array converter that fails to detect circular references in PHP arrays. Passing a self-referential array to frankenphplog() or returning one from a worker callback triggers a fatal Go stack overflow, terminating the entire server process.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FrankenPHPto a version that resolves this vulnerability.Fixed in 1.13.2
Event History
Frequently Asked Questions
Which code paths can trigger the crash?
The vulnerable converter is reached when a self-referential PHP array is passed to frankenphp_log() or returned from a worker callback.
What must an attacker be able to do to exploit this?
They must be able to cause a cyclic PHP array to reach one of the affected conversion paths. No authentication or user interaction is required, but exploitation has high attack complexity and requires the stated attack condition.
What is the operational impact if exploitation succeeds?
The conversion causes a fatal Go stack overflow that terminates the entire FrankenPHP server process, resulting in denial of service.
Which deployments should be prioritized for remediation?
Deployments running FrankenPHP versions before 1.13.2 should be prioritized, especially where application-controlled data can be passed to frankenphp_log() or returned by worker callbacks.