CVEvulnerability

CVE-2020-1899

7.5 HIGH Published 2021-03-11 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-03-11
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-119, CWE-822

Description

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.

Affected configurations

• facebook hhvm (< 4.32.3) • facebook hhvm (>= 4.33.0 < 4.56.1) • facebook hhvm 4.57.0 • facebook hhvm 4.58.0 • facebook hhvm 4.58.1 • facebook hhvm 4.59.0 • facebook hhvm 4.60.0 • facebook hhvm 4.61.0 • facebook hhvm 4.62.0

Related

Weakness · CWE (2)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
  • CWE-822 Untrusted Pointer Dereference weakness

References