Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-43840

4.4 · MEDIUM
Published Dec 17, 2021 discourse CWE-22 EPSS 1.87% (78th pctl)

Overview

CVE-2021-43840 is a medium-severity vulnerability affecting discourse message_bus. It was published on December 17, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from discourse. Update message_bus to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
discourse message_bus >= 0, < 3.3.7 Affected

Frequently Asked Questions

What is CVE-2021-43840?

CVE-2021-43840 is a medium-severity vulnerability affecting discourse message_bus. It was published on December 17, 2021 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2021-43840?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-43840?

Check the references section for vendor advisories and patches from discourse. Update message_bus to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-43840?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-43840 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.