CVE-2022-23602

Nim's rst parser sandboxed mode allows include which can embed any local file

High · published February 1, 2022

CVSS v3.1
7.7
EPSS
1%
Percentile
71.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.01343 · 71.1th percentile
Published
2022-02-01T10:56Z
EPSS history
Timeline
  • 01 FEB 10:56Z
    Nim's rst parser sandboxed mode allows include which can embed any local file
    cvelistv5