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.
References
Link | Resource |
---|---|
https://github.com/facebook/hhvm/commit/1107228a5128d3ca1c4add8ac1635d933cbbe2e9 | Patch Third Party Advisory |
https://hhvm.com/blog/2020/06/30/security-update.html | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2021-03-10 17:15
Updated : 2021-03-18 07:14
NVD link : CVE-2020-1899
Mitre link : CVE-2020-1899
JSON object : View
CWE
CWE-119
Improper Restriction of Operations within the Bounds of a Memory Buffer
Products Affected
- hhvm