摘要:
rubygem-puma security update
安全等级: Low
公告ID: KylinSec-SA-2023-1970
发布日期: 2023年12月29日
关联CVE: CVE-2021-41136
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)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2021-41136 | KY3.4-5A | rubygem-puma | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
rubygem-puma-doc | noarch | 3.12.6-3.kb1.ky3_4 |
rubygem-puma | x86_64 | 3.12.6-3.kb1.ky3_4 |
rubygem-puma | aarch64 | 3.12.6-3.kb1.ky3_4 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名