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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-43840— Path traversal in message_bus

Quick assessment

Affected
discourse message_bus
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.

MessageBus是用于 Ruby 进程和 Web 客户端的可靠、健壮的消息传递总线。 MessageBus 存在路径遍历漏洞,该漏洞源于message_bus 缺少对于路径的数据的限制与过滤,部署message_bus时启用了诊断功能(默认关闭)的用户容易出现路径遍历错误,如果意外用户访问诊断路由,可能会导致机器上的秘密信息泄露。

CVSS 4.4 · Medium EPSS 1.95% · P80

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-43840

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
Path traversal in message_bus
Source: CVE Program / CVE List V5
Vulnerability Description
message_bus is a messaging bus for Ruby processes and web clients. In versions prior to 3.3.7 users who deployed message bus with diagnostics features enabled (default off) are vulnerable to a path traversal bug, which could lead to disclosure of secret information on a machine if an unintended user were to gain access to the diagnostic route. The impact is also greater if there is no proxy for your web application as the number of steps up the directories is not bounded. For deployments which uses a proxy, the impact varies. For example, If a request goes through a proxy like Nginx with `merge_slashes` enabled, the number of steps up the directories that can be read is limited to 3 levels. This issue has been patched in version 3.3.7. Users unable to upgrade should ensure that MessageBus::Diagnostics is disabled.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
MessageBus 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MessageBus是用于 Ruby 进程和 Web 客户端的可靠、健壮的消息传递总线。 MessageBus 存在路径遍历漏洞,该漏洞源于message_bus 缺少对于路径的数据的限制与过滤,部署message_bus时启用了诊断功能(默认关闭)的用户容易出现路径遍历错误,如果意外用户访问诊断路由,可能会导致机器上的秘密信息泄露。
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
discourse message_bus < 3.3.7 -

II. Public POCs for CVE-2021-43840

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-43840

请登录查看更多情报信息。

Patches & Fixes for CVE-2021-43840 (1)

Vendor Advisories for CVE-2021-43840 (1)

IV. Related Vulnerabilities