Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-39957
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 13:19 UTC · Revision 1
Source evidence
Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header
core-osv · Original sourcePublished 20 Sept 2022, 00:00 UTC
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.
osv:CVE-2022-39957
Complete source record
{
"id": "90fdd1a1823134f316369425192629bbfab2b1bf2d5b49d48510f24087b17699",
"url": "https://osv.dev/vulnerability/CVE-2022-39957",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header",
"summary": "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.",
"evidence": "osv:CVE-2022-39957",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-39957",
"aliases": [
"CVE-2022-39957"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/coreruleset/coreruleset",
"type": "GIT",
"events": [
{
"introduced": "90596883aa103599e2aa046181c5bb79b0b6b19c"
},
{
"fixed": "87979aacb81fae13f993d0b86faa216788e909cc"
},
{
"introduced": "7776fe23f127fd2315bad0e400bdceb2cabb97dc"
},
{
"fixed": "279171c5e3199f36b07dbf567f49fc57ab5d065d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:owasp:owasp_modsecurity_core_rule_set:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.2.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:owasp:owasp_modsecurity_core_rule_set:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.3.0"
},
{
"fixed": "3.3.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.3.2",
"v3.3.1-rc1",
"v3.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39957.json"
}
}
],
"modified": "2026-10-28T02:30:50.696769430Z",
"provider": "osv",
"references": [
"https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/",
"https://lists.debian.org/debian-lts-announce/2025/08/msg00004.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39957.json",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJ/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PD56EAYNGB6E6QQH62LAYCONOP6OH5DZ/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YPQ6CCMX3MU4A7MTCGQJA7VMJW3IQDXV/",
"https://nvd.nist.gov/vuln/detail/CVE-2022-39957",
"https://security.gentoo.org/glsa/202305-25",
"https://lists.debian.org/debian-lts-announce/2023/01/msg00033.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-693"
],
"cna_assigner": "NCSC.ch",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "3.2.1"
},
{
"last_affected": "3.3.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"introduced": "3.0.x"
},
{
"last_affected": "3.0.x"
},
{
"introduced": "3.1.x"
},
{
"last_affected": "3.1.x"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39957.json"
}
},
"related_cves": [
{
"value": "CVE-2022-39957",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519429,
"published_at": "2022-09-20T00:00:00+00:00"
}