Skip to content
Heist/ feed
Back to feed
High

Apache Tomcat request smuggling via malformed content-length

Type: advisorySources: OSV

If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26 or 10.1.0-M1 to 10.1.0 was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false (the default for 8.5.x only), Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-42252
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 08:05 UTC · Revision 1

Source evidence

Apache Tomcat request smuggling via malformed content-length

core-osv · Original source

Published 1 Nov 2022, 00:00 UTC

If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26 or 10.1.0-M1 to 10.1.0 was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false (the default for 8.5.x only), Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.

osv:CVE-2022-42252
Complete source record
{
  "id": "338fd323816f6c7aad3b5093ee16e3451605e59d50fc951bf051b60e69e24448",
  "url": "https://osv.dev/vulnerability/CVE-2022-42252",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Tomcat request smuggling via malformed content-length",
    "summary": "If Apache Tomcat 8.5.0 to 8.5.82, 9.0.0-M1 to 9.0.67, 10.0.0-M1 to 10.0.26 or 10.1.0-M1 to 10.1.0 was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false (the default for 8.5.x only), Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.",
    "evidence": "osv:CVE-2022-42252",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-42252",
      "aliases": [
        "BIT-tomcat-2022-42252",
        "CVE-2022-42252",
        "GHSA-p22x-g9px-3945"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/tomcat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e37b977db6f47e4380ad67114a49e8568951c953"
                },
                {
                  "fixed": "702df4f4db92b59e01d5d8824190ce2652d74a76"
                },
                {
                  "introduced": "16bf392c67833ad549733b58c350ff92b5ee782a"
                },
                {
                  "fixed": "0cbd87a47606a7669c784d28b5133358a4dcff41"
                },
                {
                  "introduced": "4c8b650437e2464c1c31c6598a263b3805b7a81f"
                },
                {
                  "fixed": "ca8720d41f3be917dc3fcdd03fcca8d3152a13fb"
                },
                {
                  "introduced": "e9d17cddc285615807ec5fef09240777436b25dc"
                },
                {
                  "fixed": "934df02dc68e72b95a38f372017f1b89b0d13a76"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.5.0"
                      },
                      {
                        "fixed": "8.5.83"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "9.0.0"
                      },
                      {
                        "fixed": "9.0.68"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.0.0"
                      },
                      {
                        "fixed": "10.0.27"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "10.1.0"
                      },
                      {
                        "fixed": "10.1.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42252.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.615528411Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42252.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-42252",
        "https://security.gentoo.org/glsa/202305-37"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-444"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.1.0-M1"
                  },
                  {
                    "last_affected": "10.1.0"
                  },
                  {
                    "introduced": "10.0.0-M1"
                  },
                  {
                    "last_affected": "10.0.26"
                  },
                  {
                    "introduced": "9.0.0-M1"
                  },
                  {
                    "last_affected": "9.0.67"
                  },
                  {
                    "introduced": "8.5.0"
                  },
                  {
                    "last_affected": "8.5.82"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42252.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-42252",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 501052,
  "published_at": "2022-11-01T00:00:00+00:00"
}