CVE-2022-23602

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductNim-lang Nimforum
PublishedFeb 1, 2022
First seenFeb 1, 2022

How to fix

Update
  • nim-lang nimforum2.2.0 or later
  • nim-lang docutils1.6.2 or later

Affected products

ProductAffected versionsFixed in
nim-lang nimforumv < 2.2.02.2.0
nim-lang docutilsv < 1.6.21.6.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.