Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-23634— Information Exposure when using Puma with Rails

Quick assessment

Affected
puma puma
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Puma是美国Evan Phoenix个人开发者的一款针对高并发应用的Web服务器。 Puma 存在信息泄露漏洞,该漏洞源于在puma版本5.6.2之前,puma可能并不总是在响应体上调用close,在版本7.0.2.2之前,Rails依赖于关闭响应体,以便其“CurrentAttributes”实现正确工作。这两种行为(Puma不关闭主体+ Rails的Executor实现)的结合会导致信息泄漏。

CVSS 8.0 · High EPSS 2.11% · P80

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-23634

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Information Exposure when using Puma with Rails
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
Puma 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Puma是美国Evan Phoenix个人开发者的一款针对高并发应用的Web服务器。 Puma 存在信息泄露漏洞,该漏洞源于在puma版本5.6.2之前,puma可能并不总是在响应体上调用close,在版本7.0.2.2之前,Rails依赖于关闭响应体,以便其“CurrentAttributes”实现正确工作。这两种行为(Puma不关闭主体+ Rails的Executor实现)的结合会导致信息泄漏。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
puma puma >= 5.0.0, < 5.6.2 -

II. Public POCs for CVE-2022-23634

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-23634

登录查看更多情报信息。

Patches & Fixes for CVE-2022-23634 (1)

Vendor Advisories for CVE-2022-23634 (3)

Mailing List Discussions for CVE-2022-23634 (4)

Other References for CVE-2022-23634 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2022-23634

No comments yet


Leave a comment