CVE-2022-39956Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests…
The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields that will not be decoded and inspected by the web application firewall engine and the rule set. The multipart payload will therefore bypass detection. A vulnerable backend that supports these encoding schemes can potentially be exploited. 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 upgrade to 3.2.2 and 3.3.3 respectively. The mitigation against these vulnerabilities depends on the installation of the latest ModSecurity version (v2.9.6 / v3.0.8).
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | modsecurity-crs | Fix pending | UBUNTU-CVE-2022-39956 | |
| Ubuntu 26.04 | modsecurity-crs | Under investigation | UBUNTU-CVE-2022-39956 | |
| Ubuntu 25.10 | modsecurity-crs | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-39956 | |
| Ubuntu 24.04 | modsecurity-crs | Under investigation | UBUNTU-CVE-2022-39956 | |
| Ubuntu 22.04 | modsecurity-crs | Under investigation | UBUNTU-CVE-2022-39956 | |
| Ubuntu 20.04 | modsecurity-crs | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-39956 | |
| Ubuntu 18.04 | modsecurity-crs | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-39956 | |
| Ubuntu 16.04 | modsecurity-crs | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-39956 | |
| Ubuntu 14.04 | modsecurity-crs | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | modsecurity-crs | Fixed | 3.3.4-1 | DEBIAN-CVE-2022-39956 |
| Debian 13 | modsecurity-crs | Fixed | 3.3.4-1 | DEBIAN-CVE-2022-39956 |
| Debian 12 | modsecurity-crs | Fixed | 3.3.4-1 | DEBIAN-CVE-2022-39956 |
| Red Hat Enterprise Linux 9 | mod_security_crs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mod_security_crs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | mod_security_crs | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by NCSC.ch, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OWASP ModSecurity Core Rule Set: affected: 3.0.x, 3.1.x, unspecified to 3.2.1, unspecified to 3.3.2
Solution: upgrade to 3.2.2 or 3.3.3
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202305-25 (vendor-advisory)
References
- https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/
- 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJ/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00033.html
- https://security.gentoo.org/glsa/202305-25
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.