CVE-2021-43840

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43840
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43840.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-43840
Aliases
Published
2021-12-17T19:15:07Z
Modified
2024-10-12T08:36:21.274617Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/discourse/message_bus

Affected ranges

Type
GIT
Repo
https://github.com/discourse/message_bus
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.9.5
0.9.6

1.*

1.0.0
1.0.1
1.0.3
1.0.4
1.0.5

v0.*

v0.9.3.2

v1.*

v1.0.10
v1.0.11
v1.0.12
v1.0.13
v1.0.14
v1.0.15
v1.0.16
v1.0.6
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.1.1

v2.*

v2.0.0
v2.0.0.beta.1
v2.0.0.beta.10
v2.0.0.beta.11
v2.0.0.beta.2
v2.0.0.beta.3
v2.0.0.beta.4
v2.0.0.beta.5
v2.0.0.beta.6
v2.0.0.beta.7
v2.0.0.beta.8
v2.0.0.beta.9
v2.0.1
v2.0.2
v2.0.3
v2.0.5
v2.0.6
v2.0.7
v2.0.8
v2.0.9
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0.pre
v2.2.0.pre.1
v2.2.0.pre.2
v2.2.1
v2.2.2
v2.2.3
v2.2.4

v3.*

v3.0.0
v3.1.0
v3.2.0
v3.3.1
v3.3.2
v3.3.3
v3.3.4
v3.3.5
v3.3.6