Description
Insufficient boundary checks when formatting numbers in number_format allows read/write access to out-of-bounds memory, potentially leading to remote code execution. This issue affects HHVM versions prior to 3.30.10, all versions between 4.0.0 and 4.8.5, all versions between 4.9.0 and 4.18.2, and versions 4.19.0, 4.19.1, 4.20.0, 4.20.1, 4.20.2, 4.21.0, 4.22.0, 4.23.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HHVM | 4.24.0, 4.23.2, 4.23.0 – < unspecified, 4.22.1, 4.22.0 – < unspecified, 4.21.1, 4.21.0 – < unspecified, 4.20.3, 4.20.0 – < unspecified, 4.19.2, 4.19.0 – < unspecified, 4.18.3, 4.9.0 – < unspecified, 4.8.5, 4.0.0 – < unspecified, 3.30.11, unspecified – ≤ 3.30.10 | unspecified |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | hhvm | No fix yet | — |
| Ubuntu 16.04 LTS | hhvm | No fix yet | — |