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


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.72% (81st 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-3027449
  • published20 Sept 2022
  • disclosed20 Sept 2022

Introduced: 20 Sep 2022

CVE-2022-39956  (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 partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields that will not be decoded and inspected by the web application firewall engine and the rule set. The multipart payload will therefore bypass detection. A vulnerable backend that supports these encoding schemes can potentially be exploited. 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 upgrade to 3.2.2 and 3.3.3 respectively. The mitigation against these vulnerabilities depends on the installation of the latest ModSecurity version (v2.9.6 / v3.0.8).

CVSS Scores

version 3.1