Improper Encoding or Escaping of Output Affecting modsecurity-crs package, versions <3.2.3-0+deb10u3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN10-MODSECURITYCRS-3027451
  • published20 Sept 2022
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

CVE-2022-39958  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Debian:10 modsecurity-crs to version 3.2.3-0+deb10u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream modsecurity-crs package and not the modsecurity-crs package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

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.

CVSS Scores

version 3.1