CVEfocus › CVE database › CVE-2022-39958

CVE-2022-39958Response body bypass in OWASP ModSecurity Core Rule Set via repeated HTTP Range header…

CVSS 7.5 HighEPSS 1.2% (higher than 69% of CVEs)Published 2022-09-20Updated 2025-11-03Assigner: NCSC.ch

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.

CWE-863

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

3Fixed
1Fix pending
3Under investigation
8Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10modsecurity-crsFix pendingUBUNTU-CVE-2022-39958
Ubuntu 26.04modsecurity-crsUnder investigationUBUNTU-CVE-2022-39958
Ubuntu 25.10modsecurity-crsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-39958
Ubuntu 24.04modsecurity-crsUnder investigationUBUNTU-CVE-2022-39958
Ubuntu 22.04modsecurity-crsUnder investigationUBUNTU-CVE-2022-39958
Ubuntu 20.04modsecurity-crsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-39958
Ubuntu 18.04modsecurity-crsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-39958
Ubuntu 16.04modsecurity-crsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-39958
Ubuntu 14.04modsecurity-crsWill not fix
Ubuntu decided not to fix this in this release
Debian 14modsecurity-crsFixed3.3.4-1DEBIAN-CVE-2022-39958
Debian 13modsecurity-crsFixed3.3.4-1DEBIAN-CVE-2022-39958
Debian 12modsecurity-crsFixed3.3.4-1DEBIAN-CVE-2022-39958
Red Hat Enterprise Linux 9mod_security_crsWill not fix
Will not fix
Red Hat Enterprise Linux 8mod_security_crsWill not fix
Will not fix
Red Hat Enterprise Linux 7mod_security_crsWill 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.

Solution: upgrade to 3.2.2 or 3.3.3 and configure a CRS paranoia level of 3 or higher.

Vendor advisories:

References

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.