Skip to content
OpenAdvisories
High · 7.3 CVE-2022-39955 EUVD-2022-42399GHSA-x6xv-j46p-v597

Partial rule set bypass in OWASP ModSecurity Core Rule Set by submitting a specially crafted HTTP Content-Type 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 partial rule set bypass by submitting a specially crafted HTTP Content-Type header field that indicates multiple character encoding schemes. A vulnerable back-end can potentially be exploited by declaring multiple Content-Type "charset" names and therefore bypassing the configurable CRS Content-Type header "charset" allow list. An encoded payload can bypass CRS detection this way and may then be decoded by the backend. 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