{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-49294",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Asterisk is an open source private branch exchange and telephony toolkit. In Asterisk prior to versions 18.20.1, 20.5.1, and 21.0.1, as well as certified-asterisk prior to 18.9-cert6, it is possible to read any arbitrary file even when the `live_dangerously` is not enabled. This allows arbitrary files to be read. Asterisk versions 18.20.1, 20.5.1, and 21.0.1, as well as certified-asterisk prior to 18.9-cert6, contain a fix for this issue."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                        "cweId": "CWE-22"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "asterisk",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "asterisk",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 18.20.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 19.0.0, < 20.5.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 21.0.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 18.9-cert6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/asterisk/asterisk/security/advisories/GHSA-8857-hfmw-vg8f",
                "refsource": "MISC",
                "name": "https://github.com/asterisk/asterisk/security/advisories/GHSA-8857-hfmw-vg8f"
            },
            {
                "url": "https://github.com/asterisk/asterisk/commit/424be345639d75c6cb7d0bd2da5f0f407dbd0bd5",
                "refsource": "MISC",
                "name": "https://github.com/asterisk/asterisk/commit/424be345639d75c6cb7d0bd2da5f0f407dbd0bd5"
            },
            {
                "url": "https://github.com/asterisk/asterisk/blob/master/main/manager.c#L3757",
                "refsource": "MISC",
                "name": "https://github.com/asterisk/asterisk/blob/master/main/manager.c#L3757"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2023/12/msg00019.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-8857-hfmw-vg8f",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 4.9,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "HIGH",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
            }
        ]
    }
}