SB2022041451 - Multiple vulnerabilities in Discourse
Published: April 14, 2022 Updated: July 1, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 4 vulnerabilities.
1) Buffer overflow (CVE-ID: CVE-2018-25032)
CWE-ID: CWE-119 - Memory corruption
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input when compressing data. A remote attacker can pass specially crafted input to the application, trigger memory corruption and perform a denial of service (DoS) attack.
2) Improper access control (CVE-ID: CVE-2022-24804)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in category permissions handling when viewing a category. A remote attacker can view a category configured with a restricted-visibility group to disclose sensitive information.
The name of the restricted-visibility group may be exposed to any user able to see the category.
3) Input validation error (CVE-ID: CVE-2022-24824)
CWE-ID: CWE-20 - Improper input validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to cause a partial denial of service.
The vulnerability exists due to improper input validation in the request handling and caching logic when handling a maliciously formed request. A remote attacker can send a specially crafted request to cause a partial denial of service.
Anonymous users may be served the crawler view of the site instead of the normal HTML page.
4) Improper access control (CVE-ID: CVE-2022-24850)
CWE-ID: CWE-284 - Improper Access Control
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in category group permissions settings when handling access to a category. A remote attacker can view category group read/write permission information to disclose sensitive information.
Remediation
Install update from vendor's website.
References
- https://github.com/discourse/discourse/security/advisories/GHSA-8xx7-27hw-w44g
- https://github.com/discourse/discourse/security/advisories/GHSA-v4c9-6m9g-37ff
- https://github.com/discourse/discourse/security/advisories/GHSA-46v9-3jc4-f53w
- https://github.com/discourse/discourse/security/advisories/GHSA-34xr-ff4w-mcpf