SB2022013132 - Path Traversal: \'../filedir\' in nim
Published: January 31, 2022 Updated: November 25, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Path Traversal: \'../filedir\' (CVE-ID: CVE-2022-23602)
CWE-ID: CWE-24 - Path Traversal: \'../filedir\'
CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to disclose the contents of arbitrary local files readable by the parser.
The vulnerability exists due to insufficient path restrictions in Nim's reStructuredText parser when it processes include directives in sandboxed mode. A remote attacker can supply crafted reStructuredText content to expose local file contents in the rendered output.
Remediation
Install update from vendor's website.