CWE-20 输入验证不恰当 类弱点 4415 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-20 属于输入验证不当漏洞,指软件接收数据时未正确校验其是否符合安全处理要求。攻击者常通过注入恶意或畸形数据,绕过逻辑检查以触发缓冲区溢出、命令执行等严重后果。开发者应实施严格的白名单验证,确保输入格式、类型及范围完全符合预期,并在所有数据入口点强制执行校验逻辑,从而从源头阻断潜在攻击。
... public static final double price = 20.00; int quantity = currentUser.getAttribute("quantity"); double total = price * quantity; chargeUser(total); ...
... #define MAX_DIM 100 ... /* board dimensions */ int m,n, error; board_square_t *board; printf("Please specify the board height: \n"); error = scanf("%d", &m); if ( EOF == error ){ die("No integer passed: Die evil hacker!\n"); } printf("Please specify the board width: \n"); error = scanf("%d", &n); if ( EOF == error ){ die("No integer passed: Die evil hacker!\n"); } if ( m > MAX_DIM || n > MAX_DIM ) { die("Value too large: Die evil hacker!\n"); } board = (board_square_t*) malloc( m * n * sizeof(board_square_t)); ...
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2014-5398 | Schneider Electric WIS Portal 输入验证漏洞 — Wonderware Information Server Portal | 9.1 | - | 2014-08-28 |
| CVE-2014-2357 | SUBNET Solutions SUBNET SubSTATION Server 缓冲区溢出漏洞 — SubSTATION Server 2 Telegyr 8979 Master Protocol | 7.5 | - | 2014-08-11 |
| CVE-2014-2360 | OleumTech WIO DH2 Wireless Gateway和Sensor Wireless I/O Modules 输入验证漏洞 — WIO DH2 Wireless Gateway | 9.8 | - | 2014-07-24 |
| CVE-2014-2345 | COPA-DATA zenon DNP3 NG driver和zenon DNP3 Process Gateway 输入验证漏洞 — zenon DNP3 NG driver (DNP3 master) | 7.5 | - | 2014-06-05 |
| CVE-2014-2346 | COPA-DATA zenon DNP3 NG driver和zenon DNP3 Process Gateway 输入验证漏洞 — zenon DNP3 NG driver (DNP3 master) | 4.6 | - | 2014-06-05 |
CWE-20(输入验证不恰当) 是常见的弱点类别,本平台收录该类弱点关联的 4415 条 CVE 漏洞。