Insufficient boundary checks when decoding JSON in TryParse reads out of bounds memory, potentially leading to DOS. This issue affects HHVM 4.45.0, 4.44.0, 4.43.0, 4.42.0, 4.41.0, 4.40.0, 4.39.0, versions between 4.33.0 and 4.38.0 (inclusive), versions between 4.9.0 and 4.32.0 (inclusive), and versions prior to 4.8.7.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "4.8.7"
},
{
"introduced": "4.9.0"
},
{
"last_affected": "4.32.0"
},
{
"introduced": "4.33.0"
},
{
"last_affected": "4.38.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.39.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.40.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.41.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.42.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.43.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.44.0"
},
{
"introduced": "0"
},
{
"last_affected": "4.45.0"
}
]
}[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"9212748350010303498007755151268142901",
"219946249895850294731230044880929387463",
"234733308566437917356028118939905101396",
"257559448665872490243972123317255562839",
"139981154193240821683761200227999584886"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2020-1893-22804525",
"target": {
"file": "hphp/runtime/ext/json/JSON_parser.cpp"
},
"source": "https://github.com/facebook/hhvm/commit/bd586671a3c22eb2f07e55f11b3ce64e1f7961e7"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"94241718375072390049514553484705121889",
"202283354718075733938286784465843663220",
"328155670994027392479458866869178825570",
"140335216194151808759673220052749435881"
]
},
"signature_version": "v1",
"deprecated": false,
"signature_type": "Line",
"id": "CVE-2020-1893-ea8c35e1",
"target": {
"file": "hphp/runtime/version.h"
},
"source": "https://github.com/facebook/hhvm/commit/75ea519eea0fe679c4efd3af377f5250e54b6388"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1893.json"