CVE-2021-43840 – message_bus
Package
Manager: gem
Name: message_bus
Vulnerable Version: >=0 <3.3.7
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00232 pctl0.45859
Details
Path traversal when MessageBus::Diagnostics is enabled ### Impact Users who deployed message bus with diagnostics features enabled (default off) were 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. ### Patches Patched in 3.3.7. ### Workarounds Disable MessageBus::Diagnostics in production like environments.
Metadata
Created: 2021-12-17T19:59:13Z
Modified: 2021-12-17T19:34:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-xmgj-5fh3-xjmm/GHSA-xmgj-5fh3-xjmm.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-xmgj-5fh3-xjmm
Finding: F063
Auto approve: 1