CVE-2022-39956
CVE-2022-39956 · Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header
CVSS 7.3 · High · EPSS 1.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- modsecurity core rule setNo fix published
- modsecurity-crs Debian 12Update to 3.3.4-1
- modsecurity-crs Debian 13Update to 3.3.4-1
- modsecurity-crs Debian 14Update to 3.3.4-1
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="modsecurity-crs"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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).
- Published
- Updated
Fixes in distributions
- DLA-4265-1 · Debian 11 ·
- DLA-3293-1 · Debian 10 ·
Stack: system
Affected products and versions
modsecurity core rule set
- Versions
- 3.0.x: Affected
- 3.1.x: Affected
- ≥ unspecified, ≤ 3.2.1: Affected (custom)
- ≥ unspecified, ≤ 3.3.2: Affected (custom)
No fix published
modsecurity-crs Debian 12
- Affected ranges
- ECOSYSTEM: < 3.3.4-1
Update to 3.3.4-1
modsecurity-crs Debian 13
- Affected ranges
- ECOSYSTEM: < 3.3.4-1
Update to 3.3.4-1
modsecurity-crs Debian 14
- Affected ranges
- ECOSYSTEM: < 3.3.4-1
Update to 3.3.4-1
modsecurity-crs Ubuntu 16.04 LTS
- Versions
- 2.2.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
modsecurity-crs Ubuntu 18.04 LTS
- Versions
- 3.0.0-3
- 3.0.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
modsecurity-crs Ubuntu 20.04 LTS
- Versions
- 3.1.1-1
- 3.2.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
modsecurity-crs Ubuntu 22.04 LTS
- Versions
- 3.3.0-1
- 3.3.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
modsecurity-crs Ubuntu 25.10
- Versions
- 3.3.7-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://lists.debian.org/debian-lts-announce/2025/08/msg00004.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-39956