p PatchFirst

CVE-2022-39958

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

CVSS 7.5 · High · EPSS 1.3% · 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 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.

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 →