Skip to content

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

HighCVSS 7.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianNetwork Appliances

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.

Upgrade path

15 packages: 5 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/modsecurity-crs(Ubuntu 16.04) = 2.2.9-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 18.04) = 3.0.0-3; = 3.0.2-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 20.04) = 3.1.1-1; = 3.2.0-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 22.04) = 3.3.0-1; = 3.3.2-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 24.04) = 3.3.5-1; = 3.3.5-2; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 25.10) = 3.3.7-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 26.04) = 3.3.7-1; = 3.3.8-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 26.10) = 3.3.8-1; = 3.3.9-1; All versions No fix listed No fix yet
debian/modsecurity-crs(Debian 12) < 3.3.4-1 3.3.4-1 Fixed
debian/modsecurity-crs(Debian 13) < 3.3.4-1 3.3.4-1 Fixed
debian/modsecurity-crs(Debian 14) < 3.3.4-1 3.3.4-1 Fixed
owasp ModSecurity Core Rule Set <= 3.2.1; <= 3.3.2; = 3.0.x; = 3.1.x after 3.2.1, 3.3.2 Fixed
owasp modsecurity core rule set >= 3.0.0, < 3.2.2; >= 3.3.0, < 3.3.3 3.2.2, 3.3.3 Fixed
debian linux = 10.0 No fix listed Versions listed
fedoraproject fedora = 35; = 36; = 37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
owasp ModSecurity Core Rule Set = 3.0.x No fix listed
owasp ModSecurity Core Rule Set = 3.1.x No fix listed
owasp ModSecurity Core Rule Set <= 3.2.1 No fix listed
owasp ModSecurity Core Rule Set <= 3.3.2 No fix listed
ubuntu/modsecurity-crs(Ubuntu:22.04) All versions No fix listed
owasp modsecurity core rule set >= 3.0.0, < 3.2.2 3.2.2
owasp modsecurity core rule set >= 3.3.0, < 3.3.3 3.3.3
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
debian linux = 10.0 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) All versions No fix listed
debian/modsecurity-crs(Debian:12) < 3.3.4-1 3.3.4-1
debian/modsecurity-crs(Debian:14) < 3.3.4-1 3.3.4-1
debian/modsecurity-crs(Debian:13) < 3.3.4-1 3.3.4-1
ubuntu/modsecurity-crs(Ubuntu:16.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:16.04) = 2.2.9-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) = 3.0.0-3 No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) = 3.0.2-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) = 3.1.1-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) = 3.2.0-1 No fix listed
Show 10 more
ProductAffected versionsFixed in
ubuntu/modsecurity-crs(Ubuntu:22.04) = 3.3.0-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:22.04) = 3.3.2-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) = 3.3.5-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) = 3.3.5-2 No fix listed
ubuntu/modsecurity-crs(Ubuntu:25.10) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:25.10) = 3.3.7-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) = 3.3.8-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) = 3.3.9-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) = 3.3.7-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) = 3.3.8-1 No fix listed

References