{
    "CVE_data_meta": {
        "ASSIGNER": "vulnerability@ncsc.ch",
        "ID": "CVE-2022-39957",
        "STATE": "PUBLIC",
        "TITLE": "Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "ModSecurity Core Rule Set",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "3.0.x"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "3.1.x"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.2.1"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_value": "3.3.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "OWASP"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "@Karel_Origin (Karel Knibbe)"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The OWASP ModSecurity Core Rule Set (CRS) is affected by a response body bypass. A client can issue an HTTP Accept header field containing an optional \"charset\" parameter in order to receive the response in an encoded form. Depending on the \"charset\", this response can not be decoded by the web application firewall. A restricted resource, access to which would ordinarily be detected, may therefore bypass detection. The legacy CRS versions 3.0.x and 3.1.x are affected, as well as the currently supported versions 3.2.1 and 3.3.2. Integrators and users are advised to upgrade to 3.2.2 and 3.3.3 respectively."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-693: Protection Mechanism Failure"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/",
                "refsource": "CONFIRM",
                "url": "https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-90708b46e3",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PD56EAYNGB6E6QQH62LAYCONOP6OH5DZ/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-85a85c84b3",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YPQ6CCMX3MU4A7MTCGQJA7VMJW3IQDXV/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-1fd73a5285",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJ/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230130 [SECURITY] [DLA 3293-1] modsecurity-crs security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00033.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-25",
                "url": "https://security.gentoo.org/glsa/202305-25"
            }
        ]
    },
    "solution": [
        {
            "lang": "eng",
            "value": "upgrade to 3.2.2 or 3.3.3"
        }
    ],
    "source": {
        "discovery": "EXTERNAL"
    }
}