What’s Vulnerable › Vulnerabilities

CVE-2022-36066: Discourse vulnerable to RCE via admins uploading maliciously zipped file

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 products

How to fix

Upgrade to a fixed version: discourse 2.8.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-36066 or the next vulnerability affects your stack