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 frankenphp_log() or returning one from a worker callback triggers a fatal Go stack overflow, terminating the entire server process.
Uncontrolled Recursion CWE-674
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| PHP Frankenphp | Software | from 0, before 1.13.2 | 1.13.2 |
The 8.2 severity score (high) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | High | Hard to carry out. It depends on conditions the attacker cannot control. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 2 sources for this flaw, none tagged as a vendor patch.