CVE-2020-1893

Source
https://cve.org/CVERecord?id=CVE-2020-1893
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1893.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-1893
Downstream
Published
2020-03-03T15:15:12.057Z
Modified
2026-03-14T10:15:05.982449Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/facebook/hhvm

Affected ranges

Type
GIT
Repo
https://github.com/facebook/hhvm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Last affected
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "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"
        }
    ]
}

Database specific

vanir_signatures
[
    {
        "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"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1893.json"