Vulnerabilities · 2022 · Nim-lang
CVE-2022-23602
Nim-lang Docutils vulnerability
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.
Affected products
Docutils, Nimforum. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nim-lang Docutils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Nim-lang products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.