目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1000

100.0%

CWE-173 候选编码方案处理不恰当 类漏洞列表 3

CWE-173 候选编码方案处理不恰当 类弱点 3 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-173属于输入验证缺陷,指软件未正确处理输入中使用的、对目标控制域有效的替代编码。攻击者常利用编码转换(如UTF-8转UTF-16)绕过安全过滤机制,执行注入攻击或路径遍历。开发者应实施严格的输入规范化与统一编码处理,确保在验证前将数据转换为标准格式,并明确指定目标编码,从而消除因编码歧义导致的安全绕过风险。

MITRE CWE 官方描述
CWE:CWE-173 替代编码处理不当 英文:当输入使用了一种对输入所发送到的控制域(control sphere)有效的替代编码(alternate encoding)时,产品未能正确处理该情况。
常见影响 (1)
Access ControlBypass Protection Mechanism
缓解措施 (4)
Architecture and DesignAvoid making decisions based on names of resources (e.g. files) if those resources can have alternate names.
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
ImplementationUse and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are i…
ImplementationInputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
CVE ID标题CVSS风险等级Published
CVE-2024-54158 JetBrains YouTrack 安全漏洞 — YouTrack 3.5 Low2024-12-04
CVE-2023-26303 markdown-it-py 安全漏洞 — markdown-it-py 3.3 Low2023-02-22
CVE-2023-26302 markdown-it-py 安全漏洞 — markdown-it-py 3.3 Low2023-02-22

CWE-173(候选编码方案处理不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 3 条 CVE 漏洞。