{
    "CVE_data_meta": {
        "ASSIGNER": "cve-assign@fb.com",
        "DATE_ASSIGNED": "2019-01-09",
        "ID": "CVE-2019-3556",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Facebook",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "HHVM",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.83.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.83.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.82.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.82.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.81.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.81.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.80.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.80.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.79.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.79.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.78.1"
                                        },
                                        {
                                            "version_affected": ">=",
                                            "version_value": "4.57.0"
                                        },
                                        {
                                            "version_affected": "!>=",
                                            "version_value": "4.56.2"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_value": "4.56.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "HHVM supports the use of an \"admin\" server which accepts administrative requests over HTTP. One of those request handlers, dump-pcre-cache, can be used to output cached regular expressions from the current execution context into a file. The handler takes a parameter which specifies where on the filesystem to write this data. The parameter is not validated, allowing a malicious user to overwrite arbitrary files where the user running HHVM has write access. This issue affects HHVM versions prior to 4.56.2, all versions between 4.57.0 and 4.78.0, as well as 4.79.0, 4.80.0, 4.81.0, 4.82.0, and 4.83.0."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Improper Limitation of a Pathname to a Restricted Directory (CWE-22)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "name": "https://hhvm.com/blog/2020/11/12/security-update.html",
                "url": "https://hhvm.com/blog/2020/11/12/security-update.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://github.com/facebook/hhvm/commit/abe0b29e4d3a610f9bc920b8be4ad8403364c2d4",
                "url": "https://github.com/facebook/hhvm/commit/abe0b29e4d3a610f9bc920b8be4ad8403364c2d4"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://www.facebook.com/security/advisories/cve-2019-3556",
                "url": "https://www.facebook.com/security/advisories/cve-2019-3556"
            }
        ]
    }
}