p PatchFirst

CVE-2022-39955

CVE-2022-39955 · Partial rule set bypass in OWASP ModSecurity Core Rule Set by submitting a specially crafted HTTP Content-Type header

CVSS 7.3 · High · EPSS 1.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="modsecurity-crs"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass by submitting a specially crafted HTTP Content-Type header field that indicates multiple character encoding schemes. A vulnerable back-end can potentially be exploited by declaring multiple Content-Type "charset" names and therefore bypassing the configurable CRS Content-Type header "charset" allow list. An encoded payload can bypass CRS detection this way and may then be decoded by the backend. 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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • modsecurity core rule set

    Versions
    • 3.0.x: Affected
    • 3.1.x: Affected
    • ≥ unspecified, ≤ 3.2.1: Affected (custom)
    • ≥ unspecified, ≤ 3.3.2: Affected (custom)

    No fix published

  • modsecurity-crs Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.3.4-1

    Update to 3.3.4-1

  • modsecurity-crs Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.3.4-1

    Update to 3.3.4-1

  • modsecurity-crs Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.3.4-1

    Update to 3.3.4-1

  • modsecurity-crs Ubuntu 16.04 LTS

    Versions
    • 2.2.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity-crs Ubuntu 18.04 LTS

    Versions
    • 3.0.0-3
    • 3.0.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity-crs Ubuntu 20.04 LTS

    Versions
    • 3.1.1-1
    • 3.2.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity-crs Ubuntu 22.04 LTS

    Versions
    • 3.3.0-1
    • 3.3.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • modsecurity-crs Ubuntu 25.10

    Versions
    • 3.3.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →