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.
References
Link | Resource |
---|---|
https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e | Patch Third Party Advisory |
https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 | Exploit Patch Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
13 Jul 2023, 14:27
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-22 |
04 Feb 2022, 16:38
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-287 | |
CVSS |
v2 : v3 : |
v2 : 5.5
v3 : 8.1 |
CPE | cpe:2.3:a:nim-lang:nimforum:*:*:*:*:*:nim:*:* cpe:2.3:a:nim-lang:docutils:*:*:*:*:*:nim:*:* |
|
References | (CONFIRM) https://github.com/nim-lang/nimforum/security/advisories/GHSA-q3vh-x957-wr75 - Exploit, Patch, Third Party Advisory | |
References | (MISC) https://github.com/nim-lang/Nim/commit/cb894c7094fb49014f85815a9dafc38b5dda743e - Patch, Third Party Advisory |
01 Feb 2022, 12:55
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-02-01 11:15
Updated : 2024-02-04 22:08
NVD link : CVE-2022-23602
Mitre link : CVE-2022-23602
CVE.ORG link : CVE-2022-23602
JSON object : View
Products Affected
nim-lang
- docutils
- nimforum
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')