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% (70th 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-3027461
  • published20 Sept 2022
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

CVE-2022-39957  (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. A client can issue an HTTP Accept header field containing an optional "charset" parameter in order to receive the response in an encoded form. Depending on the "charset", this response can not be decoded by the web application firewall. A restricted resource, access to which would ordinarily be detected, may therefore bypass detection. 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.

CVSS Scores

version 3.1