CVE-2022-39958

Response body bypass in OWASP ModSecurity Core Rule Set via repeated HTTP Range header submission with a small byte range

Description

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.

Remediation

Solution:

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

Categories

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.29%
Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org Vendor Advisory gentoo.org Vendor Advisory coreruleset.org
Affected: OWASP ModSecurity Core Rule Set
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-39958?
CVE-2022-39958 has been scored as a high severity vulnerability.
How to fix CVE-2022-39958?
To fix CVE-2022-39958: upgrade to 3.2.2 or 3.3.3 and configure a CRS paranoia level of 3 or higher.
Is CVE-2022-39958 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-39958 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-39958?
CVE-2022-39958 affects OWASP ModSecurity Core Rule Set.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.