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

目标: 1000 元 · 已筹: 1336

100%

CWE-440 预期行为违背 类漏洞列表 40

CWE-440 预期行为违背 类弱点 40 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-440 属于预期行为违规漏洞,指软件功能、API 或函数未按规范执行。攻击者常利用此缺陷,通过构造特定输入触发非预期逻辑,从而绕过安全控制或导致系统崩溃。开发者应避免此类问题,需严格遵循接口规范进行实现,加强输入验证与边界检查,并通过全面的单元测试确保代码行为与预期设计完全一致,防止逻辑偏差被恶意利用。

MITRE CWE 官方描述
CWE:CWE-440 Expected Behavior Violation(预期行为违规) 英文:A feature, API, or function does not perform according to its specification.(某项功能、API 或函数未按其规范执行。)
常见影响 (1)
Other Quality Degradation, Varies by Context
代码示例 (1)
The provided code is extracted from the Control and Status Register (CSR), csr_regfile, module within the Hack@DAC'21 OpenPiton System-on-Chip (SoC). This module is designed to implement CSR registers in accordance with the RISC-V specification. The mie (machine interrupt enable) register is a 64-bit register [REF-1384], where bits correspond to different interrupt sources. As the name suggests, m…
module csr_regfile #(...)(...); ... // --------------------------- // CSR Write and update logic // --------------------------- ... if (csr_we) begin unique case (csr_addr.address) ... riscv::CSR_SIE: begin // the mideleg makes sure only delegate-able register //(and therefore also only implemented registers) are written mie_d = (mie_q & ~mideleg_q) | (csr_wdata & mideleg_q) | utval_q; end ... endcase end endmodule
Bad · Verilog
module csr_regfile #(...)(...); ... // --------------------------- // CSR Write and update logic // --------------------------- ... if (csr_we) begin unique case (csr_addr.address) ... riscv::CSR_SIE: begin // the mideleg makes sure only delegate-able register //(and therefore also only implemented registers) are written mie_d = (mie_q & ~mideleg_q) | (csr_wdata & mideleg_q); end ... endcase end endmodule
Good · Verilog
CVE ID 标题 CVSS 风险等级 Published
CVE-2022-3344 Linux kernel 安全漏洞 — Linux kernel 5.5 - 2022-10-24
CVE-2022-3281 多款WAGO产品安全漏洞 — 750-81xx/xxx-xxx Series PFC100/PFC200 7.5 High 2022-10-17
CVE-2020-10768 Linux kernel 安全漏洞 — kernel 5.5 Medium 2020-09-15
CVE-2020-10767 Linux kernel 安全漏洞 — kernel 5.5 Medium 2020-09-15
CVE-2020-10766 Linux kernel scheduler 安全漏洞 — kernel 5.5 Medium 2020-09-15
CVE-2019-5108 Linux kernel 授权问题漏洞 — Linux kernel 6.5 - 2019-12-23
CVE-2019-5062 hostapd 访问控制错误漏洞 — W1.f1 6.5 - 2019-12-12
CVE-2019-5061 hostapd 授权问题漏洞 — W1.f1 6.5 - 2019-12-12
CVE-2018-12550 Eclipse Mosquitto 访问控制错误漏洞 — Eclipse Mosquitto 7.4 - 2019-03-27
CVE-2019-6569 多款Siemens产品安全漏洞 — SCALANCE X204-2 - - 2019-03-26

CWE-440(预期行为违背) 是常见的弱点类别,本平台收录该类弱点关联的 40 条 CVE 漏洞。