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

目标: 1000 元 · 已筹: 1359 元

100%

CWE-367 检查时间与使用时间(TOCTOU)的竞争条件 类漏洞列表 561

CWE-367 检查时间与使用时间(TOCTOU)的竞争条件 类弱点 561 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-367 属于竞态条件漏洞,指系统在检查资源状态后、实际使用前,资源状态发生不可控变化,导致检查失效。攻击者利用这一时间窗口,通过并发操作篡改资源,从而绕过安全验证或执行未授权操作。开发者应避免在检查与使用间插入耗时操作,采用原子性操作或加锁机制确保状态一致性,以消除竞争条件带来的安全风险。

MITRE CWE 官方描述
CWE:CWE-367 检查时-使用时(TOCTOU)竞态条件 英文:产品在利用资源之前会检查该资源的状态,但在检查与利用之间,资源的状态可能发生变化,从而导致检查结果失效。
常见影响 (6)
Integrity, Other Alter Execution Logic, Unexpected State
The attacker can gain access to otherwise unauthorized resources.
Integrity, Other Modify Application Data, Modify Files or Directories, Modify Memory, Other
Race conditions such as this kind may be employed to gain read or write access to resources which are not normally readable or writable by the user in question.
Integrity, Other Other
The resource in question, or other resources (through the corrupted one), may be changed in undesirable ways by a malicious user.
Non-Repudiation Hide Activities
If a file or other resource is written in this method, as opposed to in a valid way, logging of the activity may not occur.
Non-Repudiation, Other Other
In some cases it may be possible to delete files a malicious user might not otherwise have access to, such as log files.
缓解措施 (5)
Implementation The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
Implementation When the file being altered is owned by the current user and group, set the effective gid and uid to that of the current user and group when executing this statement.
Architecture and Design Limit the interleaving of operations on files from multiple processes.
Implementation, Architecture and Design If you cannot perform operations atomically and you must share access to the resource between multiple processes or threads, then try to limit the amount of time (CPU cycles) between the check and use of the resource. This will not fix the problem, but it could make it more difficult for an attack to succeed.
Implementation Recheck the resource after the use call to verify that the action was taken appropriately.
代码示例 (2)
The following code checks a file, then updates its contents.
struct stat *sb; ... lstat("...",sb); // it has not been updated since the last time it was read printf("stated file\n"); if (sb->st_mtimespec==...){ print("Now updating things\n"); updateThings(); }
Bad · C
The following code is from a program installed setuid root. The program performs certain file operations on behalf of non-privileged users, and uses access checks to ensure that it does not use its root privileges to perform operations that should otherwise be unavailable the current user. The program uses the access() system call to check if the person running the program has permission to access…
if(!access(file,W_OK)) { f = fopen(file,"w+"); operate(f); ... } else { fprintf(stderr,"Unable to open file %s.\n",file); }
Bad · C
CVE ID 标题 CVSS 风险等级 Published
CVE-2026-75524 OpenReception 竞态条件致预约冲突漏洞 — appointment-booking-software 5.4 Medium 2026-10-23
CVE-2026-105481 Node.js 22/24/26.x HTTP 代理连接重用漏洞 — node - - 2026-10-23
CVE-2026-57114 PraisonAI Jobs webhook SSRF 绕过漏洞 — PraisonAI 7.2 High 2026-10-23
CVE-2026-112941 filelock 软读写锁目录写入漏洞 — filelock 3.3 Low 2026-10-20
CVE-2026-112937 filelock 目录重命名导致数据删除漏洞 — filelock 6.1 Medium 2026-10-20
CVE-2026-112935 filelock SoftFileLock 锁文件误删导致并发竞争漏洞 — filelock 4.7 Medium 2026-10-20
CVE-2026-80353 Tomcat APR 连接器 Unix 套接字权限 TOCTOU 漏洞 — Apache Tomcat - - 2026-10-20
CVE-2026-94621 AliasVault ico提取DNS重绑定SSRF漏洞 — aliasvault 6.3 Medium 2026-10-15
CVE-2026-57569 Lychee 相册 SSRF漏洞:DNS验证后缺少IP绑定 — Lychee 2.3 Low 2026-10-15
CVE-2026-101308 sound(4) 缓冲区大小调整与 mmap 之间的竞态条件漏洞 — FreeBSD - - 2026-10-15
CVE-2025-68404 QuRouter管理界面竞态条件认证绕过漏洞 — QuRouter 7.5 High 2026-10-15
CVE-2026-102354 BentoPDF 中 Cloudflare CORS代理存在DNS重绑定SSRF漏洞 — bentopdf 6.8 Medium 2026-10-14
CVE-2026-86848 DPDK vhost-crypto TOCTOU漏洞允许guest触发越界写入 — Fast Datapath for RHEL 10 8.8 High 2026-10-14
CVE-2026-93683 DPDK vhost 间接描述符长度 TOCTOU 导致越界访问漏洞 — Fast Datapath for RHEL 10 6.4 Medium 2026-10-14
CVE-2026-53613 util-linux mount目标TOCTOU允许本地权限提升 — util-linux 7.0 High 2026-10-14
CVE-2026-53612 util-linux mount hook_owner 本地权限提升漏洞 — util-linux 7.0 High 2026-10-14
CVE-2026-62840 Linux Kernel 提权漏洞 — Linux 3P (Third Party) Distros 7.0 High 2026-10-13
CVE-2026-108396 Windows Modern Device Management 提权漏洞 — Windows 10 Version 1809 7.0 High 2026-10-13
CVE-2026-96939 Servicing Stack 提权漏洞 — Windows 11 version 23H2 7.0 High 2026-10-13
CVE-2026-96853 Windows Win32 子系统信息泄露漏洞 — Windows 10 Version 1607 4.7 Medium 2026-10-13
CVE-2026-70122 Windows Broadcast DVR 用户服务提权漏洞 — Windows 10 Version 21H2 6.5 Medium 2026-10-13
CVE-2026-85943 可靠多播传输驱动(RMCAST)权限提升漏洞 — Windows 10 Version 1607 7.0 High 2026-10-13
CVE-2026-85879 Windows 子系统 for Linux 提权漏洞 — Windows Subsystem for Linux (WSL2) 7.0 High 2026-10-13
CVE-2026-83750 Windows错误报告提权漏洞 — Windows 10 Version 1607 7.0 High 2026-10-13
CVE-2026-83697 Windows 现代设备管理(MDM)篡改漏洞 — Windows 10 Version 1809 4.7 Medium 2026-10-13
CVE-2026-83505 Windows Setup 文件清理提权漏洞 — Windows 10 Version 1607 7.0 High 2026-10-13
CVE-2026-70288 Win32k 信息泄露漏洞 — Windows 10 Version 1607 5.5 Medium 2026-10-13
CVE-2026-70075 Windows VBS Enclave安全功能绕过漏洞 — Windows 10 Version 1809 4.4 Medium 2026-10-13
CVE-2026-97774 Microsoft Office Click-To-Run 权限提升漏洞 — Microsoft 365 Apps for Enterprise 7.0 High 2026-10-13
CVE-2026-85920 Windows BitLocker 权限提升漏洞 — Windows 10 Version 1607 7.0 High 2026-10-13

CWE-367(检查时间与使用时间(TOCTOU)的竞争条件) 是常见的弱点类别,本平台收录该类弱点关联的 561 条 CVE 漏洞。