Skip to content
Heist/ feed
Back to feed
High

Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header

Type: advisorySources: OSV

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).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-39956
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 16:31 UTC · Revision 1

Source evidence

Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding 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 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).

osv:CVE-2022-39956
Complete source record
{
  "id": "276e1d451a586705a4ae5fda7e3f59050ae36d53759326a90e4b3ad1d8f768b3",
  "url": "https://osv.dev/vulnerability/CVE-2022-39956",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header",
    "summary": "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).",
    "evidence": "osv:CVE-2022-39956",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-39956",
      "aliases": [
        "CVE-2022-39956"
      ],
      "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-39956.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.311633430Z",
      "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-39956.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-39956",
        "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-39956.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-39956",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 512406,
  "published_at": "2022-09-20T00:00:00+00:00"
}