{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "HHVM",
                    "vendor": "Facebook",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "4.0.4"
                        },
                        {
                            "lessThan": "unspecified",
                            "status": "affected",
                            "version": "4.0.0",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "3.30.5"
                        },
                        {
                            "lessThan": "unspecified",
                            "status": "affected",
                            "version": "3.30.0",
                            "versionType": "custom"
                        },
                        {
                            "status": "affected",
                            "version": "3.27.8"
                        },
                        {
                            "lessThan": "3.27.8",
                            "status": "affected",
                            "version": "unspecified",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "dateAssigned": "2019-03-28T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Insufficient boundary checks for the strrpos and strripos functions allow access to out-of-bounds memory. This affects all supported versions of HHVM (4.0.3, 3.30.4, and 3.27.7 and below)."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-119",
                            "description": "Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119)",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2019-04-29T15:32:45",
                "orgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
                "shortName": "facebook"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/facebook/hhvm/commit/46003b4ab564b2abcd8470035fc324fe36aa8c75"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://hhvm.com/blog/2019/04/03/hhvm-4.0.4.html"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve-assign@fb.com",
                    "DATE_ASSIGNED": "2019-03-28",
                    "ID": "CVE-2019-3561",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "HHVM",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "4.0.4"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "4.0.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "3.30.5"
                                                    },
                                                    {
                                                        "version_affected": ">=",
                                                        "version_value": "3.30.0"
                                                    },
                                                    {
                                                        "version_affected": "!=>",
                                                        "version_value": "3.27.8"
                                                    },
                                                    {
                                                        "version_affected": "<",
                                                        "version_value": "3.27.8"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "Facebook"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "Insufficient boundary checks for the strrpos and strripos functions allow access to out-of-bounds memory. This affects all supported versions of HHVM (4.0.3, 3.30.4, and 3.27.7 and below)."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119)"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://github.com/facebook/hhvm/commit/46003b4ab564b2abcd8470035fc324fe36aa8c75",
                            "refsource": "MISC",
                            "url": "https://github.com/facebook/hhvm/commit/46003b4ab564b2abcd8470035fc324fe36aa8c75"
                        },
                        {
                            "name": "https://hhvm.com/blog/2019/04/03/hhvm-4.0.4.html",
                            "refsource": "MISC",
                            "url": "https://hhvm.com/blog/2019/04/03/hhvm-4.0.4.html"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T19:12:09.501Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/facebook/hhvm/commit/46003b4ab564b2abcd8470035fc324fe36aa8c75"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://hhvm.com/blog/2019/04/03/hhvm-4.0.4.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "4fc57720-52fe-4431-a0fb-3d2c8747b827",
        "assignerShortName": "facebook",
        "cveId": "CVE-2019-3561",
        "datePublished": "2019-04-29T15:32:45",
        "dateReserved": "2019-01-02T00:00:00",
        "dateUpdated": "2024-08-04T19:12:09.501Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}