OESA-2024-2250

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-2250
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-2250.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-2250
Upstream
Published
2024-10-12T11:09:22Z
Modified
2025-08-12T05:36:35.593390Z
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 simple, fast, multi-threaded, parallel HTTP 1.1 server for Ruby/Rack applications. When using Puma behind a proxy that does not properly validate that the incoming HTTP request matches the RFC7230 standard, Puma and the frontend proxy may disagree on where a request starts and ends. This would allow requests to be smuggled via the front-end proxy to Puma. The vulnerability has been fixed in 5.6.4 and 4.3.12. Users are advised to upgrade as soon as possible. Workaround: when deploying a proxy in front of Puma, turning on any and all functionality to make sure that the request matches the RFC7230 standard.(CVE-2022-24790)

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.(CVE-2023-40175)

Puma is a web server for Ruby/Rack applications built for parallelism. Prior to version 6.4.2, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies in a way that allowed HTTP request smuggling. Fixed versions limits the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption. This vulnerability has been fixed in versions 6.4.2 and 5.6.8.

(CVE-2024-21647)

Puma is a Ruby/Rack web server built for parallelism. In affected versions clients could clobber values set by intermediate proxies (such as X-Forwarded-For) by providing a underscore version of the same header (X-ForwardedFor). Any users relying on proxy set variables is affected. v6.4.3/v5.6.9 now discards any headers using underscores if the non-underscore version also exists. Effectively, allowing the proxy defined headers to always win. Users are advised to upgrade. Nginx has a underscoresin_headers configuration variable to discard these headers at the proxy level as a mitigation. Any users that are implicitly trusting the proxy defined headers for security should immediately cease doing so until upgraded to the fixed versions.(CVE-2024-45614)

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

Affected packages

openEuler:22.03-LTS-SP1 / rubygem-puma

Package

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

Affected ranges

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

Ecosystem specific

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