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

目标: 1000 元 · 已筹: 1336

100%

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

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

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

MITRE CWE 官方描述
CWE:CWE-415 Double Free(双重释放) 英文:产品在同一内存地址上两次调用 free()。
常见影响 (1)
Integrity, Confidentiality, AvailabilityModify 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 DesignChoose a language that provides automatic memory management.
ImplementationEnsure 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.
ImplementationUse 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-2024-27127 QNAP Systems QTS和QuTS hero 安全漏洞 — QTS 7.2 High2024-05-21
CVE-2024-30027 Microsoft Windows NTFS 资源管理错误漏洞 — Windows 10 Version 1809 7.8 High2024-05-14
CVE-2023-44247 Fortinet FortiOS 资源管理错误漏洞 — FortiOS 6.5 Medium2024-05-14
CVE-2023-52384 Huawei HarmonyOS 安全漏洞 — HarmonyOS 4.7 Medium2024-05-11
CVE-2023-52383 Huawei HarmonyOS 安全漏洞 — HarmonyOS 4.7 Medium2024-05-11
CVE-2021-34981 Linux kernel 安全漏洞 — Kernel 6.7 -2024-05-07
CVE-2024-3446 QEMU 资源管理错误漏洞 — Red Hat Enterprise Linux 8 8.2 High2024-04-09
CVE-2024-26257 Microsoft Excel 安全漏洞 — Microsoft 365 Apps for Enterprise 7.8 High2024-04-09
CVE-2024-2002 libdwarf 资源管理错误漏洞 7.5 High2024-03-18
CVE-2024-21445 Microsoft Windows USB Print Driver 安全漏洞 — Windows Server 2022 7.0 High2024-03-12
CVE-2024-27099 Microsoft Azure uAMQP 安全漏洞 — azure-uamqp-c 9.8 Critical2024-02-27
CVE-2024-22097 Biosig Project libbiosig 安全漏洞 — libbiosig 9.8 Critical2024-02-20
CVE-2024-23809 Biosig Project libbiosig 资源管理错误漏洞 — libbiosig 9.8 Critical2024-02-20
CVE-2023-38562 Weston Embedded uC-TCP-IP 资源管理错误漏洞 — uC-TCP-IP 8.7 High2024-02-20
CVE-2024-21606 Juniper Networks Junos OS 资源管理错误漏洞 — Junos OS 7.5 High2024-01-12
CVE-2023-1032 Linux kernel 安全漏洞 — linux 4.7 Medium2024-01-08
CVE-2023-28583 Qualcomm Chipsets 安全漏洞 — Snapdragon 6.7 Medium2024-01-02
CVE-2023-4256 tcpreplay 安全漏洞 — tcpreplay 5.5 Medium2023-12-21
CVE-2023-41678 Fortinet FortiOS 资源管理错误漏洞 — FortiOS 8.3 High2023-12-13
CVE-2023-45679 stb_vorbis 资源管理错误漏洞 — stb 7.3 High2023-10-20
CVE-2023-45666 stb_image 资源管理错误漏洞 — stb 7.3 High2023-10-20
CVE-2023-45664 stb_image 资源管理错误漏洞 — stb 7.3 High2023-10-20
CVE-2023-42459 EProsima Fast Dds 安全漏洞 — Fast-DDS 8.6 High2023-10-16
CVE-2023-36418 Microsoft Azure Real Time Operating System 安全漏洞 — Azure RTOS GUIX Studio 7.8 High2023-10-10
CVE-2023-36420 Microsoft ODBC Driver 安全漏洞 — Microsoft SQL Server 2019 (GDR) 7.8 High2023-10-10
CVE-2023-41325 OP-TEE Trusted OS 资源管理错误漏洞 — optee_os 7.4 High2023-09-15
CVE-2023-4389 Linux kernel 资源管理错误漏洞 — Kernel 7.0 High2023-08-16
CVE-2023-35371 Microsoft Office 安全漏洞 — Microsoft 365 Apps for Enterprise 7.8 High2023-08-08
CVE-2023-33952 Linux kernel 资源管理错误漏洞 — Red Hat Enterprise Linux 8 6.7 Medium2023-07-24
CVE-2023-33161 Microsoft Excel 安全漏洞 — Microsoft Office 2019 for Mac 7.8 High2023-07-11

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