Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2023-40175 (CVE-2023-40175)

    Vulnerability from osv_ubuntu – Published: 2023-08-18 22:15 – Updated: 2026-11-24 09:56 – Source website
    VLAI
    Details

    Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

    Upstream
    Impacted products
    Ecosystem Package Version
    Ubuntu:Pro:20.04:LTS puma
    pkg:deb/ubuntu/puma@3.12.4-1ubuntu2+esm1?arch=source&distro=esm-apps/focal
    Affected: < 3.12.4-1ubuntu2+esm1 (ecosystem)
    3.12.0-2ubuntu13.12.0-4ubuntu13.12.4-1ubuntu2
    Ubuntu:Pro:22.04:LTS puma
    pkg:deb/ubuntu/puma@5.5.2-2ubuntu2+esm1?arch=source&distro=esm-apps/jammy
    Affected: < 5.5.2-2ubuntu2+esm1 (ecosystem)
    4.3.6-1ubuntu45.5.2-2ubuntu2
    Ubuntu:24.04:LTS puma
    pkg:deb/ubuntu/puma@5.6.5-4ubuntu2?arch=source&distro=noble
    Affected: < 5.6.5-4ubuntu2 (ecosystem)

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "puma",
                "binary_version": "3.12.4-1ubuntu2+esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:20.04:LTS",
            "name": "puma",
            "purl": "pkg:deb/ubuntu/puma@3.12.4-1ubuntu2+esm1?arch=source\u0026distro=esm-apps/focal"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.12.4-1ubuntu2+esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "3.12.0-2ubuntu1",
            "3.12.0-4ubuntu1",
            "3.12.4-1ubuntu2"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "puma",
                "binary_version": "5.5.2-2ubuntu2+esm1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:22.04:LTS",
            "name": "puma",
            "purl": "pkg:deb/ubuntu/puma@5.5.2-2ubuntu2+esm1?arch=source\u0026distro=esm-apps/jammy"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.5.2-2ubuntu2+esm1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "4.3.6-1ubuntu4",
            "5.5.2-2ubuntu2"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "puma",
                "binary_version": "5.6.5-4ubuntu2"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:24.04:LTS",
            "name": "puma",
            "purl": "pkg:deb/ubuntu/puma@5.6.5-4ubuntu2?arch=source\u0026distro=noble"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.6.5-4ubuntu2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": []
        }
      ],
      "aliases": [],
      "details": "Puma is a Ruby/Rack web server built for parallelism. Prior to versions 6.3.1 and 5.6.7, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. Severity of this issue is highly dependent on the nature of the web site using puma is. This could be caused by either incorrect parsing of trailing fields in chunked transfer encoding bodies or by parsing of blank/zero-length Content-Length headers. Both issues have been addressed and this vulnerability has been fixed in versions 6.3.1 and 5.6.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.",
      "id": "UBUNTU-CVE-2023-40175",
      "modified": "2026-11-24T09:56:49Z",
      "published": "2023-08-18T22:15:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2023-40175"
        },
        {
          "type": "REPORT",
          "url": "https://github.com/puma/puma/security/advisories/GHSA-68xg-gqqm-vgj8"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-6399-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-6682-1"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2023-40175"
        }
      ],
      "related": [
        "USN-6399-1",
        "USN-6682-1"
      ],
      "schema_version": "1.9.2",
      "severity": [
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
          "source": "CNA",
          "type": "CVSS_V3"
        },
        {
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "source": "NVD",
          "type": "CVSS_V3"
        },
        {
          "score": "medium",
          "source": "SELF",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2023-40175"
      ]
    }