PHP FastCGI Process Manager (FPM) Buffer Overflow Vulnerability
In some versions of PHP in certain configurations of FPM setup, it is possible to cause FPM module to write past allocated buffers allowing the possibility of remote code execution.
Buffer Copy without Checking Size of Input CWE-120
The software copies more data than fits, overwriting nearby memory. Attackers use this to run their own code.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Weakness data: MITRE Common Weakness Enumeration.
Out-of-bounds Write CWE-787
The software writes data outside the space it was given. Attackers use this to run their own code or crash the program.
The product writes data past the end, or before the beginning, of the intended buffer.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 23 products in all. 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 |
|---|---|---|---|
| Canonical Ubuntu Linux | Operating system | 12.04; 14.04; 16.04; 18.04; 19.04; 19.10 | not recorded |
| Redhat Enterprise Linux EUS | Operating system | 7.7; 8.1; 8.2; 8.4; 8.6; 8.8 | not recorded |
| Redhat Enterprise Linux FOR IBM Z Systems EUS | Operating system | 7.7 s390x; 8.1 s390x; 8.2 s390x; 8.4 s390x; 8.6 s390x; 8.8 s390x | not recorded |
| Redhat Enterprise Linux FOR Power Little Endian EUS | Operating system | 7.7 ppc64le; 8.1 ppc64le; 8.2 ppc64le; 8.4 ppc64le; 8.6 ppc64le; 8.8 ppc64le | not recorded |
| Redhat Enterprise Linux FOR ARM 64 EUS | Operating system | 8.1 aarch64; 8.2 aarch64; 8.4 aarch64; 8.6 aarch64; 8.8 aarch64 | not recorded |
| Redhat Enterprise Linux Server TUS | Operating system | 7.7; 8.2; 8.4; 8.6; 8.8 | not recorded |
| Redhat Enterprise Linux Server AUS | Operating system | 7.7; 8.2; 8.4; 8.6 | not recorded |
| Fedoraproject Fedora | Operating system | 29; 30; 31 | not recorded |
| PHP PHP | Software | from 7.1.0, before 7.1.33; from 7.2.0, before 7.2.24; from 7.3.0, before 7.3.11 | 7.1.33; 7.2.24; 7.3.11 |
| Redhat Enterprise Linux FOR IBM Z Systems | Operating system | 6.0 s390x; 7.0 s390x; 8.0 s390x | not recorded |
| Debian Debian Linux | Operating system | 9.0; 10.0 | not recorded |
| Redhat Enterprise Linux Desktop | Operating system | 6.0; 7.0 | not recorded |
| Redhat Enterprise Linux FOR Power BIG Endian | Operating system | 6.0 ppc64; 7.0 ppc64 | not recorded |
| Redhat Enterprise Linux FOR Power Little Endian | Operating system | 7.0 ppc64le; 8.0 ppc64le | not recorded |
| Redhat Enterprise Linux Server | Operating system | 6.0; 7.0 | not recorded |
and 8 more products. The complete list is on the NIST page.
The 9.8 severity score (critical) from NIST, 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 | Low | Easy to carry out. No special conditions have to line up. |
| 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. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
1 of the 28 sources NIST lists are patches or advisories from the vendor. 2 explain how the flaw works or include exploit code, so attackers can find instructions easily.