UBUNTU-CVE-2021-41136

Source
https://ubuntu.com/security/CVE-2021-41136
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-41136.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-41136
Related
Published
2021-10-12T16:15:00Z
Modified
2021-10-12T16:15:00Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Puma is a HTTP 1.1 server for Ruby/Rack applications. Prior to versions 5.5.1 and 4.3.9, using puma with a proxy which forwards HTTP header values which contain the LF character could allow HTTP request smugggling. A client could smuggle a request through a proxy, causing the proxy to send a response back to another unknown client. The only proxy which has this behavior, as far as the Puma team is aware of, is Apache Traffic Server. If the proxy uses persistent connections and the client adds another request in via HTTP pipelining, the proxy may mistake it as the first request's body. Puma, however, would see it as two requests, and when processing the second request, send back a response that the proxy does not expect. If the proxy has reused the persistent connection to Puma to send another request for a different client, the second response from the first client will be sent to the second client. This vulnerability was patched in Puma 5.5.1 and 4.3.9. As a workaround, do not use Apache Traffic Server with puma.

References

Affected packages

Ubuntu:20.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.4-1ubuntu2

Affected versions

3.*

3.12.0-2ubuntu1
3.12.0-4ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.12.4-1ubuntu2",
            "binary_name": "puma"
        },
        {
            "binary_version": "3.12.4-1ubuntu2",
            "binary_name": "puma-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / puma

Package

Name
puma
Purl
pkg:deb/ubuntu/puma?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.5.2-2ubuntu2

Affected versions

4.*

4.3.6-1ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.5.2-2ubuntu2",
            "binary_name": "puma"
        },
        {
            "binary_version": "5.5.2-2ubuntu2",
            "binary_name": "puma-dbgsym"
        }
    ]
}