SB2022013132 - Path Traversal: \'../filedir\' in nim



SB2022013132 - Path Traversal: \'../filedir\' in nim

Published: January 31, 2022 Updated: November 25, 2026

Security Bulletin ID SB2022013132
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 100%
  • 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.