OESA-2024-1006

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1006
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1006.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-1006
Upstream
Published
2024-01-05T11:06:39Z
Modified
2025-09-03T06:17:39.352341Z
Summary
rubygem-puma security update
Details

A simple, fast, threaded, and highly concurrent HTTP 1.1 server for Ruby/Rack applications.

Security Fix(es):

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.(CVE-2021-41136)

Puma is a Ruby/Rack web server built for parallelism. Prior to puma version 5.6.2, puma may not always call close on the response body. Rails, prior to version 7.0.2.2, depended on the response body being closed in order for its CurrentAttributes implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails or Puma version fixes the vulnerability.(CVE-2022-23634)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS / rubygem-puma

Package

Name
rubygem-puma
Purl
pkg:rpm/openEuler/rubygem-puma&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.12.6-3.oe2203

Ecosystem specific

{
    "noarch": [
        "rubygem-puma-doc-3.12.6-3.oe2203.noarch.rpm"
    ],
    "src": [
        "rubygem-puma-3.12.6-3.oe2203.src.rpm"
    ],
    "aarch64": [
        "rubygem-puma-debuginfo-3.12.6-3.oe2203.aarch64.rpm",
        "rubygem-puma-debugsource-3.12.6-3.oe2203.aarch64.rpm",
        "rubygem-puma-3.12.6-3.oe2203.aarch64.rpm"
    ],
    "x86_64": [
        "rubygem-puma-debugsource-3.12.6-3.oe2203.x86_64.rpm",
        "rubygem-puma-3.12.6-3.oe2203.x86_64.rpm",
        "rubygem-puma-debuginfo-3.12.6-3.oe2203.x86_64.rpm"
    ]
}