CWE-641: Improper Restriction of Names for Files and Other Resources, published in 2022
Filter
The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.
What the weakness is: CWE-641 at MITRE. All weaknesses
Ask an AI about CWE-641
Show the prompt
Explain CWE-641: Improper Restriction of Names for Files and Other Resources and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/641.html and https://cve.bz/cve/cwe/641?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
- 6.5CVE-2022-23536linuxfoundation cortexEPSS 1.0%
Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing malici…
- 5.4CVE-2022-36302bosch bf-osEPSS 0.7%
File path manipulation vulnerability in BF-OS version 3.00 up to and including 3.83 allows an attacker to modify the file path to access different resources, which may contain sensitive information.