Description
Various APC functions accept keys containing null bytes as input, leading to premature truncation of input. This issue affects HHVM versions prior to 3.30.12, all versions between 4.0.0 and 4.8.5, all versions between 4.9.0 and 4.23.1, as well as 4.24.0, 4.25.0, 4.26.0, 4.27.0, 4.28.0, and 4.28.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HHVM | 4.28.2, 4.28.0 – < unspecified, 4.27.1, 4.27.0 – < unspecified, 4.26.1, 4.26.0 – < unspecified, 4.25.1, 4.25.0 – < unspecified, 4.24.1, 4.24.0 – < unspecified, 4.23.2, 4.9.0 – < unspecified, 4.8.6, 4.0.0 – < unspecified, 3.30.12, unspecified – < 3.30.12 | 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 | — |