Skip to content
OpenAdvisories
High · 7.3 CVE-2022-39957 EUVD-2022-42401GHSA-cxqq-h5hh-jgq2

Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header

Published Sep 20, 2022 · Updated Nov 3, 2025 · Assigned by NCSC.ch

Description

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.

Affected products

VendorProductAffectedFixed
OWASP ModSecurity Core Rule Set 3.0.x, 3.1.x, unspecified – ≤ 3.2.1, unspecified – ≤ 3.3.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 modsecurity-crs 3.3.4-1 —
Debian 13 modsecurity-crs 3.3.4-1 —
Debian 12 modsecurity-crs 3.3.4-1 —
Debian 11 modsecurity-crs 3.3.4-1~deb11u1 DLA-4265-1
Debian 10 modsecurity-crs 3.2.3-0+deb10u3 DLA-3293-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 modsecurity-crs No fix yet —
Ubuntu 26.04 LTS modsecurity-crs No fix yet —
Ubuntu 25.10 modsecurity-crs No fix yet —
Ubuntu 24.04 LTS modsecurity-crs No fix yet —
Ubuntu 22.04 LTS modsecurity-crs No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS modsecurity-crs No fix yet —
Ubuntu 18.04 LTS modsecurity-crs No fix yet —
Ubuntu 16.04 LTS modsecurity-crs No fix yet —

Advisories 3

References