Vulnerability Description
Nimforum is a lightweight alternative to Discourse written in Nim. In versions prior to 2.2.0 any forum user can create a new thread/post with an include referencing a file local to the host operating system. Nimforum will render the file if able. This can also be done silently by using NimForum's post "preview" endpoint. Even if NimForum is running as a non-critical user, the forum.json secrets can be stolen. Version 2.2.0 of NimForum includes patches for this vulnerability. Users are advised to upgrade as soon as is possible. There are no known workarounds for this issue.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nim-Lang | Docutils | < 1.6.2 |
| Nim-Lang | Nimforum | < 2.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743ePatchThird Party Advisory
- https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75ExploitPatchThird Party Advisory
- https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743ePatchThird Party Advisory
- https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75ExploitPatchThird Party Advisory
FAQ
What is CVE-2022-23602?
CVE-2022-23602 is a vulnerability with a CVSS score of 7.7 (HIGH). Nimforum is a lightweight alternative to Discourse written in Nim. In versions prior to 2.2.0 any forum user can create a new thread/post with an include referencing a file local to the host operating...
How severe is CVE-2022-23602?
CVE-2022-23602 has been rated HIGH with a CVSS base score of 7.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23602?
Check the references section above for vendor advisories and patch information. Affected products include: Nim-Lang Docutils, Nim-Lang Nimforum.