An update for rubygem-puma is now available for openEuler-22.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2024-2250 Final 1.0 1.0 2024-10-12 Initial 2024-10-12 2024-10-12 openEuler SA Tool V1.0 2024-10-12 rubygem-puma security update An update for rubygem-puma is now available for openEuler-22.03-LTS-SP1 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-Forwarded_For). 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 underscores_in_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) An update for rubygem-puma is now available for openEuler-22.03-LTS-SP1. openEuler Security has rated this update as having a security impact of critical. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. Critical rubygem-puma https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2250 https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2022-24790 https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2023-40175 https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2024-21647 https://www.openeuler.org/en/security/cve/detail/?cveId=CVE-2024-45614 https://nvd.nist.gov/vuln/detail/CVE-2022-24790 https://nvd.nist.gov/vuln/detail/CVE-2023-40175 https://nvd.nist.gov/vuln/detail/CVE-2024-21647 https://nvd.nist.gov/vuln/detail/CVE-2024-45614 openEuler-22.03-LTS-SP1 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 rubygem-puma-5.6.5-3.oe2203sp1.src.rpm 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 rubygem-puma-doc-5.6.5-3.oe2203sp1.noarch.rpm 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. 2024-10-12 CVE-2022-24790 openEuler-22.03-LTS-SP1 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N rubygem-puma security update 2024-10-12 https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2250 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. 2024-10-12 CVE-2023-40175 openEuler-22.03-LTS-SP1 Critical 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H rubygem-puma security update 2024-10-12 https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2250 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. 2024-10-12 CVE-2024-21647 openEuler-22.03-LTS-SP1 High 5.9 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H rubygem-puma security update 2024-10-12 https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2250 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-Forwarded_For). 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 underscores_in_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. 2024-10-12 CVE-2024-45614 openEuler-22.03-LTS-SP1 Medium 5.4 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N rubygem-puma security update 2024-10-12 https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2024-2250