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

目标: 1000 元 · 已筹: 1336

100%

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

CWE-415 双重释放 类弱点 214 条 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-2022-40507 Qualcomm Chipsets 资源管理错误漏洞 — Snapdragon 8.4 High2023-06-06
CVE-2022-33307 Qualcomm Chipsets 资源管理错误漏洞 — Snapdragon 8.4 High2023-06-06
CVE-2022-33227 Qualcomm Chipsets 资源管理错误漏洞 — Snapdragon 6.7 Medium2023-06-06
CVE-2023-24903 Microsoft Windows Secure Socket Tunneling Protocol 安全漏洞 — Windows 10 Version 1809 8.1 High2023-05-09
CVE-2023-21500 SAMSUNG Mobile devices 资源管理错误漏洞 — Samsung Mobile Devices 6.0 Medium2023-05-04
CVE-2023-28296 Microsoft Visual Studio 安全漏洞 — Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8) 7.8 High2023-04-11
CVE-2022-33231 Qualcomm Chipsets 资源管理错误漏洞 — Snapdragon 9.3 Critical2023-04-04
CVE-2023-27537 curl 资源管理错误漏洞 — https://github.com/curl/curl 7.4 -2023-03-30
CVE-2023-25801 Google TensorFlow 资源管理错误漏洞 — tensorflow 8.0 High2023-03-24
CVE-2023-1449 GPAC 资源管理错误漏洞 — GPAC 5.3 Medium2023-03-17
CVE-2023-23402 Microsoft Windows Codecs Library 安全漏洞 — Windows 10 Version 1809 7.8 High2023-03-14
CVE-2022-40515 Google Android 资源管理错误漏洞 — Snapdragon 7.3 High2023-03-07
CVE-2022-20803 ClamAV 资源管理错误漏洞 — ClamAV 8.6 High2023-02-17
CVE-2022-40683 Fortinet FortiWeb 资源管理错误漏洞 — FortiWeb 7.1 High2023-02-16
CVE-2022-3806 zephyr 资源管理错误漏洞 — zephyr 9.8 -2023-01-19
CVE-2022-32574 Abode Iota 资源管理错误漏洞 — iota All-In-One Security Kit 8.1 -2022-10-25
CVE-2022-36043 Rizin 资源管理错误漏洞 — rizin 7.8 High2022-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 High2022-08-05
CVE-2022-32962 Hicos Citizen Certificate Client-side Component 资源管理错误漏洞 — HiCOS’ client-side citizen digital certificate 6.8 Medium2022-07-20
CVE-2022-31117 UltraJSON 资源管理错误漏洞 — ultrajson 5.9 Medium2022-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 Medium2022-01-26
CVE-2022-23012 F5 BIG-IP 资源管理错误漏洞 — BIG-IP 7.5 -2022-01-25

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