The unserialize() function supported a type code, "S", which was meant to be supported only for APC serialization
Facebook HHVM
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
Facebook HHVM
| Product | Affected | Fixed in |
|---|---|---|
| Facebook HHVM |
|
|
The unserialize() function supported a type code, "S", which was meant to be supported only for APC serialization. This type code allowed arbitrary memory addresses to be accessed as if they were static StringData objects. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.
From the CVE record · facebook
HHVM’s unserialize() function accepted an “S” type code intended only for APC serialization. If attacker-controlled serialized data reaches the function, this code can cause arbitrary memory addresses to be accessed as static StringData objects. The input does not specify whether exploitation requires network access, authentication, or user interaction.
Engineers running Facebook HHVM prior to v4.32.3, between v4.33.0 and v4.56.0, or at v4.57.0 through v4.62.0 should check their installations.