目标达成 感谢每一位支持者 — 我们达成了 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-5303 AXIS OS 竞争条件问题漏洞 — AXIS OS 5.7 Medium 2026-08-11
CVE-2026-72584 FastSchema 竞争条件问题漏洞 — fastschema 7.4 High 2026-08-10
CVE-2026-19079 selinux project selinux 竞争条件问题漏洞 — Red Hat Hardened Images 4.4 Medium 2026-08-07
CVE-2026-57818 Apache CXF JCacheCodeDataProvider 竞争条件导致 OAuth2 授权码重放漏洞 — Apache CXF - - 2026-08-06
CVE-2026-55524 Mervin Praison PraisonAI 竞争条件问题漏洞 — PraisonAI 7.5 High 2026-08-05
CVE-2026-70597 Electron 竞争条件问题漏洞 — electron 6.3 Medium 2026-08-05
CVE-2026-71272 usememos memos 竞争条件问题漏洞 — memos 8.5 High 2026-08-05
CVE-2026-71210 mealie-recipes mealie 竞争条件问题漏洞 — mealie 5.3 Medium 2026-08-05
CVE-2026-54020 open-webui 竞争条件问题漏洞 — open-webui 6.3 Medium 2026-08-04
CVE-2026-47621 NVIDIA Dynamo 竞争条件问题漏洞 — Dynamo 6.5 Medium 2026-08-04
CVE-2026-58041 Node.js 竞争条件问题漏洞 — node - - 2026-08-04
CVE-2026-11835 CHIPS Alliance Core ROM 输入验证错误漏洞 — Core ROM 5.6 Medium 2026-08-04
CVE-2026-66314 Microsoft Edge 竞争条件问题漏洞 — Microsoft Edge (Chromium-based) 6.5 Medium 2026-08-03
CVE-2026-47746 misskey-dev misskey 竞争条件问题漏洞 — misskey 8.9 High 2026-08-03
CVE-2026-18477 GNU tar 竞争条件问题漏洞 — Red Hat Enterprise Linux 10 4.4 Medium 2026-08-03
CVE-2026-20492 MediaTek Chipsets 竞争条件问题漏洞 — MediaTek chipset - - 2026-08-03
CVE-2026-20474 MediaTek Chipsets 竞争条件问题漏洞 — MediaTek chipset - - 2026-08-03
CVE-2026-67607 hfiref0x LightFTP 竞争条件问题漏洞 — LightFTP 5.9 Medium 2026-07-31
CVE-2026-13113 GitLab 竞争条件问题漏洞 — GitLab 6.5 Medium 2026-07-29
CVE-2026-56822 Netty 竞争条件问题漏洞 — netty 7.4 High 2026-07-28
CVE-2026-59676 selinuxproject selinux 竞争条件问题漏洞 — selinux 5.8 Medium 2026-07-23
CVE-2026-65598 n8n 竞争条件问题漏洞 — n8n - - 2026-07-22
CVE-2026-16082 Sipeed PicoClaw 竞争条件问题漏洞 — PicoClaw 5.3 Medium 2026-07-18
CVE-2026-54242 Statamic cms 竞争条件问题漏洞 — cms 4.9 Medium 2026-07-17
CVE-2026-62212 OpenClaw 竞争条件问题漏洞 — OpenClaw 7.1 High 2026-07-17
CVE-2026-53410 zoom 竞争条件问题漏洞 — Zoom Clients 7.0 High 2026-07-16
CVE-2026-15449 illumos illumos-gate 缓冲区错误漏洞 — illumos-gate - - 2026-07-16
CVE-2026-45804 huggingface diffusers 竞争条件问题漏洞 — diffusers 7.5 High 2026-07-15
CVE-2026-48344 Adobe Creative Cloud Desktop 竞争条件问题漏洞 — Creative Cloud Desktop 7.8 High 2026-07-14
CVE-2026-4018 BlackBerry QNX Software Development Platform 竞争条件问题漏洞 — QNX Software Development Platform 6.4 Medium 2026-07-14

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