ubuntu-cve-2024-1135
Vulnerability from osv_ubuntu
Published
2024-04-16 00:15
Modified
2026-05-20 15:07
Summary
Details

Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn's handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "17.5-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@17.5-2ubuntu0.1~esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "17.5-2",
        "17.5-2build1",
        "17.5-2ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "19.4.5-1ubuntu1.1"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "19.4.5-1ubuntu1.1"
          },
          {
            "binary_name": "gunicorn3",
            "binary_version": "19.4.5-1ubuntu1.1"
          },
          {
            "binary_name": "python-gunicorn",
            "binary_version": "19.4.5-1ubuntu1.1"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "19.4.5-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@19.4.5-1ubuntu1.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "19.0-8ubuntu1",
        "19.4.1-1ubuntu1",
        "19.4.5-1ubuntu1",
        "19.4.5-1ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "19.7.1-4"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "19.7.1-4"
          },
          {
            "binary_name": "gunicorn3",
            "binary_version": "19.7.1-4"
          },
          {
            "binary_name": "python-gunicorn",
            "binary_version": "19.7.1-4"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "19.7.1-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@19.7.1-4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "19.7.1-3",
        "19.7.1-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "20.0.4-3"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "20.0.4-3"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "20.0.4-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@20.0.4-3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "19.9.0-1",
        "19.9.0-4",
        "20.0.0-1",
        "20.0.2-1",
        "20.0.4-1",
        "20.0.4-2",
        "20.0.4-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "20.1.0-2"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "20.1.0-2"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "20.1.0-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@20.1.0-2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20.1.0-1",
        "20.1.0-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "20.1.0-6ubuntu0.1"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "20.1.0-6ubuntu0.1"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "20.1.0-6ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@20.1.0-6ubuntu0.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20.1.0-6",
        "20.1.0-6ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "23.0.0-1"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "23.0.0-1"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "23.0.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@23.0.0-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.0.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gunicorn",
            "binary_version": "25.1.0-1"
          },
          {
            "binary_name": "gunicorn-examples",
            "binary_version": "25.1.0-1"
          },
          {
            "binary_name": "python3-gunicorn",
            "binary_version": "25.1.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "gunicorn",
        "purl": "pkg:deb/ubuntu/gunicorn@25.1.0-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "23.0.0-1",
        "23.0.0-1build1",
        "25.0.3-2",
        "25.1.0-1"
      ]
    }
  ],
  "aliases": [],
  "details": "Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn\u0027s handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.",
  "id": "UBUNTU-CVE-2024-1135",
  "modified": "2026-05-20T15:07:23Z",
  "published": "2024-04-16T00:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-1135"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-1135"
    },
    {
      "type": "REPORT",
      "url": "https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-1135"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…