CVE Vulnerabilities

CVE-2021-41163

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Oct 20, 2021 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution. This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

NameVendorStart VersionEnd Version
DiscourseDiscourse*2.7.9 (excluding)
DiscourseDiscourse2.8.0-beta1 (including)2.8.0-beta1 (including)
DiscourseDiscourse2.8.0-beta2 (including)2.8.0-beta2 (including)
DiscourseDiscourse2.8.0-beta3 (including)2.8.0-beta3 (including)
DiscourseDiscourse2.8.0-beta4 (including)2.8.0-beta4 (including)
DiscourseDiscourse2.8.0-beta5 (including)2.8.0-beta5 (including)
DiscourseDiscourse2.8.0-beta6 (including)2.8.0-beta6 (including)

Potential Mitigations

References