目标达成 感谢每一位支持者 — 我们达成了 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-2022-32574 Abode Iota 资源管理错误漏洞 — iota All-In-One Security Kit 8.1 - 2022-10-25
CVE-2022-36043 Rizin 资源管理错误漏洞 — rizin 7.8 High 2022-09-06
CVE-2022-2519 LibTIFF 资源管理错误漏洞 — libtiff 7.5 - 2022-08-31
CVE-2020-27794 radare2 资源管理错误漏洞 — radare2 8.1 - 2022-08-19
CVE-2022-31614 NVIDIA vGPU Software 资源管理错误漏洞 — NVIDIA Virtual GPU Software and NVIDIA Cloud Gaming 7.0 High 2022-08-05
CVE-2022-32962 Hicos Citizen Certificate Client-side Component 资源管理错误漏洞 — HiCOS’ client-side citizen digital certificate 6.8 Medium 2022-07-20
CVE-2022-31117 UltraJSON 资源管理错误漏洞 — ultrajson 5.9 Medium 2022-07-05
CVE-2022-29032 Siemens JT2GO和Siemens Teamcenter Visualization 资源管理错误漏洞 — JT2Go 7.8 - 2022-05-10
CVE-2021-23158 HTMLDOC 资源管理错误漏洞 — htmldoc 7.8 - 2022-03-16
CVE-2021-42533 Adobe Bridge 资源管理错误漏洞 — Bridge 7.8 - 2022-03-16
CVE-2021-46625 Bentley Systems Bentley View 资源管理错误漏洞 — View 7.8 - 2022-02-18
CVE-2021-46621 Bentley Systems MicroStation 资源管理错误漏洞 — MicroStation CONNECT 7.8 - 2022-02-18
CVE-2021-4091 389-ds-base 资源管理错误漏洞 — 389-ds-base 7.5 - 2022-02-18
CVE-2021-22600 Linux kernel 资源管理错误漏洞 — Kernel 6.6 Medium 2022-01-26
CVE-2022-23012 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 - 2022-01-25
CVE-2021-1119 Nvidia vGPU Software 资源管理错误漏洞 — NVIDIA Virtual GPU Software 7.1 High 2021-10-29
CVE-2021-21797 Nitro Software Nitro Pro 资源管理错误漏洞 — Nitro Pro 7.8 - 2021-10-18
CVE-2021-25477 Samsung SMR 资源管理错误漏洞 — Samsung Mobile Devices 4.4 Medium 2021-10-06
CVE-2021-1565 Cisco IOS XE Software 资源管理错误漏洞 — Cisco IOS XE Software 8.6 High 2021-09-23
CVE-2021-34769 多款 Cisco 产品资源管理错误漏洞 — Cisco IOS XE Software 8.6 High 2021-09-23
CVE-2021-34768 多款 Cisco 产品资源管理错误漏洞 — Cisco IOS XE Software 8.6 High 2021-09-23
CVE-2021-22945 libcurl 资源管理错误漏洞 — https://github.com/curl/curl 9.1 - 2021-09-23
CVE-2021-34734 Cisco Video Surveillance 7000 Series IP Cameras 资源管理错误漏洞 — Cisco Video Surveillance 7000 Series IP Cameras 6.5 Medium 2021-08-18
CVE-2021-34333 Siemens Jt2go 和 Siemens Teamcenter Visualization 资源管理错误漏洞 — JT2Go 5.5 - 2021-07-13
CVE-2021-27033 Autodesk Design Review 资源管理错误漏洞 — Design Review 8.1 High 2021-07-09
CVE-2021-3564 Linux kernel 资源管理错误漏洞 — kernel 5.5 - 2021-06-08
CVE-2021-31449 Foxit Reader 资源管理错误漏洞 — Reader 7.8 - 2021-05-07
CVE-2021-3492 linux kernel 安全漏洞 — Linux kernel 8.8 High 2021-04-17
CVE-2021-3407 artifex mupdf 资源管理错误漏洞 — mupdf 5.5 - 2021-02-23
CVE-2020-15710 PulseAudio 资源管理错误漏洞 — PulseAudio 5.3 Medium 2020-11-19

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