CVE-2022-39958
CVE-2022-39958 · Response body bypass in OWASP ModSecurity Core Rule Set via repeated HTTP Range header submission with a small byte range
CVSS 7.5 · 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 response body bypass to sequentially exfiltrate small and undetectable sections of data by repeatedly submitting an HTTP Range header field with a small byte range. A restricted resource, access to which would ordinarily be detected, may be exfiltrated from the backend, despite being protected by a web application firewall that uses CRS. Short subsections of a restricted resource may bypass pattern matching techniques and allow undetected access. 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 and to configure a CRS paranoia level of 3 or higher.
- 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-39958