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

目标: 1000 元 · 已筹: 1336

100%

CWE-415 双重释放 类漏洞列表 259

CWE-415 双重释放 类弱点 259 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-415 属于内存管理漏洞,指程序对同一内存地址重复调用释放函数。攻击者通常利用此缺陷触发堆损坏,进而实现任意代码执行或导致服务拒绝。开发者应避免此类问题,需确保指针在释放后立即置空,并引入引用计数或所有权机制来严格管理内存生命周期,防止重复释放。

MITRE CWE 官方描述
CWE:CWE-415 Double Free(双重释放) 英文:产品在同一内存地址上两次调用 free()。
常见影响 (1)
Integrity, Confidentiality, Availability Modify Memory, Execute Unauthorized Code or Commands
When a program calls free() twice with the same argument, the program's memory management data structures may become corrupted, potentially leading to the reading or modification of unexpected memory addresses. This corruption can cause the program to crash or, in some circumstances, cause two later…
缓解措施 (3)
Architecture and Design Choose a language that provides automatic memory management.
Implementation Ensure that each allocation is freed only once. After freeing a chunk, set the pointer to NULL to ensure the pointer cannot be freed again. In complicated error conditions, be sure that clean-up routines respect the state of allocation properly. If the language is object oriented, ensure that object destructors delete each chunk of memory only once.
Implementation Use a static analysis tool to find double free instances.
代码示例 (2)
The following code shows a simple example of a double free vulnerability.
char* ptr = (char*)malloc (SIZE); ... if (abrt) { free(ptr); } ... free(ptr);
Bad · C
While contrived, this code should be exploitable on Linux distributions that do not ship with heap-chunk check summing turned on.
#include <stdio.h> #include <unistd.h> #define BUFSIZE1 512 #define BUFSIZE2 ((BUFSIZE1/2) - 8) int main(int argc, char **argv) { char *buf1R1; char *buf2R1; char *buf1R2; buf1R1 = (char *) malloc(BUFSIZE2); buf2R1 = (char *) malloc(BUFSIZE2); free(buf1R1); free(buf2R1); buf1R2 = (char *) malloc(BUFSIZE1); strncpy(buf1R2, argv[1], BUFSIZE1-1); free(buf2R1); free(buf1R2); }
Bad · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2020-9747 Adobe Animate 资源管理错误漏洞 — Animate 7.8 High 2020-10-21
CVE-2020-1686 Juniper Networks Junos OS 资源管理错误漏洞 — Junos OS 7.5 High 2020-10-16
CVE-2020-25637 Red Hat libvirt 资源管理错误漏洞 — libvirt 7.2 - 2020-10-06
CVE-2020-16217 Advantech WebAccess HMI Designer 资源管理错误漏洞 — Advantech WebAccess HMI Designer 7.8 - 2020-08-06
CVE-2020-1647 Juniper Networks Junos OS 资源管理错误漏洞 — Junos OS 9.8 Critical 2020-07-17
CVE-2020-11017 FreeRDP 资源管理错误漏洞 — FreeRDP 6.5 Medium 2020-05-29
CVE-2020-11044 FreeRDP 资源管理错误漏洞 — FreeRDP 2.2 Low 2020-05-07
CVE-2020-3179 Cisco Firepower Threat Defense 资源管理错误漏洞 — Cisco Firepower Threat Defense Software 7.5 - 2020-05-06
CVE-2019-11049 PHP 资源管理错误漏洞 — PHP 6.5 Medium 2019-12-23
CVE-2019-11932 Facebook WhatsApp 资源管理错误漏洞 — android-gif-drawable 8.8 - 2019-10-03
CVE-2019-5481 Haxx libcurl 资源管理错误漏洞 — curl 9.8 - 2019-09-16
CVE-2019-5460 VideoLAN VLC media player 资源管理错误漏洞 — VLC Media Player 5.5 - 2019-07-30
CVE-2018-0469 Cisco Catalyst 3650和3850 Series Switches IOS XE Software 安全漏洞 — Cisco IOS XE Software 8.6 - 2018-10-05
CVE-2018-8835 Advantech WebAccess HMI Designer 安全漏洞 — Advantech WebAccess HMI Designer 7.8 - 2018-04-25
CVE-2018-0160 Cisco IOS XE Software Simple Network Management Protocol子系统安全漏洞 — Cisco IOS XE 7.7 - 2018-03-28
CVE-2018-7523 Omron CX-Supervisor 缓冲区错误漏洞 — Omron CX-Supervisor 5.3 - 2018-03-21
CVE-2018-5379 Quagga BGP daemon 安全漏洞 — bgpd 9.8 - 2018-02-19
CVE-2018-0101 多款Cisco产品Adaptive Security Appliance Software 安全漏洞 — Cisco Adaptive Security Appliance 9.8 - 2018-01-29
CVE-2017-10950 Bitdefender Total Security bdfwfpf驱动程序安全漏洞 — Bitdefender Total Security 7.8 - 2017-08-29

CWE-415(双重释放) 是常见的弱点类别,本平台收录该类弱点关联的 259 条 CVE 漏洞。