ghsa-p22x-g9px-3945
Vulnerability from github
Published
2022-11-01 12:00
Modified
2024-04-23 20:42
Summary
Apache Tomcat may reject request containing invalid Content-Length header
Details

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.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat.embed:tomcat-embed-core",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "8.5.0",
                  },
                  {
                     fixed: "8.5.83",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat.embed:tomcat-embed-core",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "9.0.0-M1",
                  },
                  {
                     fixed: "9.0.68",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat.embed:tomcat-embed-core",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "10.0.0-M1",
                  },
                  {
                     fixed: "10.0.27",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat.embed:tomcat-embed-core",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "10.1.0-M1",
                  },
                  {
                     fixed: "10.1.1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat:tomcat-coyote",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "9.0.0-M1",
                  },
                  {
                     fixed: "9.0.68",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat:tomcat-coyote",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "10.0.0-M1",
                  },
                  {
                     fixed: "10.0.27",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "Maven",
            name: "org.apache.tomcat:tomcat-coyote",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "10.1.0-M1",
                  },
                  {
                     fixed: "10.1.1",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2022-42252",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-20",
         "CWE-444",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-11-01T18:37:42Z",
      nvd_published_at: "2022-11-01T09:15:00Z",
      severity: "HIGH",
   },
   details: "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.",
   id: "GHSA-p22x-g9px-3945",
   modified: "2024-04-23T20:42:24Z",
   published: "2022-11-01T12:00:30Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-42252",
      },
      {
         type: "WEB",
         url: "https://github.com/apache/tomcat/commit/0d089a15047faf9cb3c82f80f4d28febd4798920",
      },
      {
         type: "WEB",
         url: "https://github.com/apache/tomcat/commit/4c7f4fd09d2cc1692112ef70b8ee23a7a037ae77",
      },
      {
         type: "WEB",
         url: "https://github.com/apache/tomcat/commit/a1c07906d8dcaf7957e5cc97f5cdbac7d18a205a",
      },
      {
         type: "WEB",
         url: "https://github.com/apache/tomcat/commit/c9fe754e5d17e262dfbd3eab2a03ca96ff372dc3",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/apache/tomcat",
      },
      {
         type: "WEB",
         url: "https://lists.apache.org/thread/zzcxzvqfdqn515zfs3dxb7n8gty589sq",
      },
      {
         type: "WEB",
         url: "https://security.gentoo.org/glsa/202305-37",
      },
      {
         type: "WEB",
         url: "https://tomcat.apache.org/security-10.html",
      },
      {
         type: "WEB",
         url: "https://tomcat.apache.org/security-8.html",
      },
      {
         type: "WEB",
         url: "https://tomcat.apache.org/security-9.html",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
         type: "CVSS_V3",
      },
   ],
   summary: "Apache Tomcat may reject request containing invalid Content-Length header",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.