Skip to content
Heist/ feed
Back to feed
High

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39955
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 00:25 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 20 Sept 2022, 00:00 UTC

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.

osv:CVE-2022-39955
Complete source record
{
  "id": "f593a0cbbefc9b9ec329af31533986329b99004c6e9149cd531a5ac423e6fe6d",
  "url": "https://osv.dev/vulnerability/CVE-2022-39955",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Partial rule set bypass in OWASP ModSecurity Core Rule Set by submitting a specially crafted HTTP Content-Type header",
    "summary": "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.",
    "evidence": "osv:CVE-2022-39955",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-39955",
      "aliases": [
        "CVE-2022-39955"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/coreruleset/coreruleset",
              "type": "GIT",
              "events": [
                {
                  "introduced": "90596883aa103599e2aa046181c5bb79b0b6b19c"
                },
                {
                  "fixed": "87979aacb81fae13f993d0b86faa216788e909cc"
                },
                {
                  "introduced": "7776fe23f127fd2315bad0e400bdceb2cabb97dc"
                },
                {
                  "fixed": "279171c5e3199f36b07dbf567f49fc57ab5d065d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:owasp:owasp_modsecurity_core_rule_set:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:owasp:owasp_modsecurity_core_rule_set:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.3.0"
                      },
                      {
                        "fixed": "3.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.3.2",
            "v3.3.1-rc1",
            "v3.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39955.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.124901044Z",
      "provider": "osv",
      "references": [
        "https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/",
        "https://lists.debian.org/debian-lts-announce/2025/08/msg00004.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39955.json",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PD56EAYNGB6E6QQH62LAYCONOP6OH5DZ/",
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YPQ6CCMX3MU4A7MTCGQJA7VMJW3IQDXV/",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-39955",
        "https://security.gentoo.org/glsa/202305-25",
        "https://lists.debian.org/debian-lts-announce/2023/01/msg00033.html"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "cna_assigner": "NCSC.ch",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "last_affected": "3.2.1"
                  },
                  {
                    "last_affected": "3.3.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "SplitRange"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0.x"
                  },
                  {
                    "last_affected": "3.0.x"
                  },
                  {
                    "introduced": "3.1.x"
                  },
                  {
                    "last_affected": "3.1.x"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39955.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39955",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 520946,
  "published_at": "2022-09-20T00:00:00+00:00"
}