CWE-173: Improper Handling of Alternate Encoding, published in 2024
Filter
The product does not properly handle when an input uses an alternate encoding that is valid for the control sphere to which the input is being sent.
What the weakness is: CWE-173 at MITRE. All weaknesses
Related attack patterns (CAPEC): 12
- CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
- CAPEC-4 Using Alternative IP Address Encodings Likelihood: Medium · Severity: High
- CAPEC-52 Embedding NULL Bytes Likelihood: High · Severity: High
- CAPEC-53 Postfix, Null Terminate, and Backslash Likelihood: High · Severity: High
- CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
- CAPEC-72 URL Encoding Likelihood: High · Severity: High
- CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
- CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
- CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
- CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-173, as MITRE names them. Credits.
Ask an AI about CWE-173
Show the prompt
Explain CWE-173: Improper Handling of Alternate Encoding and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/173.html and https://cve.bz/cve/cwe/173?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
- 5.3CVE-2024-54158jetbrains youtrackEPSS 0.4%
In JetBrains YouTrack before 2024.3.52635 potential spoofing attack was possible via lack of Punycode encoding