cve.bz

CWE-21: Pathname Traversal and Equivalence Errors, published in 2024

Filter

deprecated by MITRE

This category has been deprecated. It was originally used for organizing weaknesses involving file names, which enabled access to files outside of a restricted directory (path traversal) or to perform operations on files that would otherwise be restricted (path equivalence). Consider using either the File Handling Issues category (CWE-1219) or the class Use of Incorrectly-Resolved Name or Reference (CWE-706).

What the weakness is: CWE-21 at MITRE. All weaknesses

Ask an AI about CWE-21

Show the promptExplain CWE-21: Pathname Traversal and Equivalence Errors and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/21.html and https://cve.bz/cve/cwe/21?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 4.8CVE-2024-7738yzane markdown pdfEPSS 0.3%

    A vulnerability, which was classified as problematic, has been found in yzane vscode-markdown-pdf 1.5.0. Affected by this issue is some unknown functionality of the component Markdown File Handler. The manipulation leads to pathname traver…