CVEvulnerability
CVE-2022-36066
7.2 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-09-29
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-434
Description
Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, admins can upload a maliciously crafted Zip or Gzip Tar archive to write files at arbitrary locations and trigger remote code execution. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.
Affected configurations
• discourse discourse (< 2.8.9)
• discourse discourse 2.9.0
Related
Weakness · CWE (1)
- CWE-434 Unrestricted Upload of File with Dangerous Type weakness
References
- https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch, Third Party Advisory
- https://github.com/discourse/discourse/pull/18421 Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory
- https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch, Third Party Advisory
- https://github.com/discourse/discourse/pull/18421 Patch, Third Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory