CWE-24: Path Traversal: '../filedir', published in 2022
Filter
The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory.
What the weakness is: CWE-24 at MITRE. All weaknesses
Ask an AI about CWE-24
Show the prompt
Explain CWE-24: Path Traversal: '../filedir' and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/24.html and https://cve.bz/cve/cwe/24?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
- 7.5CVE-2019-25087httpserver project httpserverEPSS 0.9%
A vulnerability was found in RamseyK httpserver. It has been rated as critical. This issue affects the function ResourceHost::getResource of the file src/ResourceHost.cpp of the component URI Handler. The manipulation of the argument uri l…
- 7.5CVE-2022-36065growthbookEPSS 1.4%
GrowthBook is an open-source platform for feature flagging and A/B testing. With some self-hosted configurations in versions prior to 2022-08-29, attackers can register new accounts and upload files to arbitrary directories within the cont…
- 9.8CVE-2022-38129keysight sensor management serverEPSS 1.5%
A path traversal vulnerability exists in the com.keysight.tentacle.licensing.LicenseManager.addLicenseFile() method in the Keysight Sensor Management Server (SMS). This allows an unauthenticated remote attacker to upload arbitrary files to…
- 6.8CVE-2022-1743dominionvoting imagecast xEPSS 0.5%
The tested version of Dominion Voting System ImageCast X can be manipulated to cause arbitrary code execution by specially crafted election definition files. An attacker could leverage this vulnerability to spread malicious code to ImageCa…
- 8.8CVE-2021-33036apache hadoopEPSS 4.0%
In Apache Hadoop 2.2.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.2, and 3.3.0 to 3.3.1, a user who can escalate to yarn user can possibly run arbitrary commands as root user. Users should upgrade to Apache Hadoop 2.10.2, 3.2.3, 3.3.2 …
- 2.7CVE-2022-29253xwikiEPSS 1.0%
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting with version 8.3-rc-1 and prior to versions 12.10.3 and 14.0, one can ask for any file located in the classloader using the t…