CWE-362 使用共享资源的并发执行不恰当同步问题(竞争条件) 类弱点 693 条 CVE 漏洞汇总,含 AI 中文分析。
CWE-362 属于并发执行漏洞,指代码序列在需要独占访问共享资源时,因缺乏同步机制导致存在时间窗口,使其他并发序列能修改该资源。攻击者通常利用此竞态条件,通过精心构造并发请求篡改数据或绕过安全检查,从而引发逻辑错误或权限提升。开发者应避免此类问题,确保对共享资源的访问具备原子性,通过加锁、事务或原子操作等同步机制消除竞争窗口,保障数据一致性。
$transfer_amount = GetTransferAmount(); $balance = GetBalanceFromDatabase(); if ($transfer_amount < 0) { FatalError("Bad Transfer Amount"); } $newbalance = $balance - $transfer_amount; if (($balance - $transfer_amount) < 0) { FatalError("Insufficient Funds"); } SendNewBalanceToDatabase($newbalance); NotifyUser("Transfer of $transfer_amount succeeded."); NotifyUser("New balance: $newbalance");
In the following pseudocode, the attacker makes two simultaneous calls of the program, CALLER-1 and CALLER-2. Both callers are for the same user account. CALLER-1 (the attacker) is associated with PROGRAM-1 (the instance that handles CALLER-1). CALLER-2 is associated with PROGRAM-2. CALLER-1 makes a transfer request of 80.00. PROGRAM-1 calls GetBalanceFromDatabase and sets $balance to 100.00 PROGRAM-1 calculates $newbalance as 20.00, then calls SendNewBalanceToDatabase(). Due to high server load, the PROGRAM-1 call to SendNewBalanceToDatabase() encounters a delay. CALLER-2 makes a transfer req
void f(pthread_mutex_t *mutex) { pthread_mutex_lock(mutex); /* access shared resource */ pthread_mutex_unlock(mutex); }
int f(pthread_mutex_t *mutex) { int result; result = pthread_mutex_lock(mutex); if (0 != result) return result; /* access shared resource */ return pthread_mutex_unlock(mutex); }
| CVE ID | 标题 | CVSS | 风险等级 | Published |
|---|---|---|---|---|
| CVE-2026-21234 | Microsoft Windows 竞争条件问题漏洞 — Windows 10 Version 1809 | 7.0 | High | 2026-02-10 |
| CVE-2026-24930 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.4 | High | 2026-02-06 |
| CVE-2026-25536 | MCP TypeScript SDK 竞争条件问题漏洞 — typescript-sdk | 7.1 | High | 2026-02-04 |
| CVE-2026-22548 | F5 BIG-IP 竞争条件问题漏洞 — BIG-IP | 5.9 | Medium | 2026-02-04 |
| CVE-2026-24040 | jsPDF 竞争条件问题漏洞 — jsPDF | 9.3AI | Critical AI | 2026-02-02 |
| CVE-2025-15349 | Anritsu ShockLine 竞争条件问题漏洞 — ShockLine | 7.5 | - | 2026-01-23 |
| CVE-2026-23735 | Graphql Modules 竞争条件问题漏洞 — graphql-modules | 9.8 | - | 2026-01-16 |
| CVE-2026-22856 | FreeRDP 资源管理错误漏洞 — FreeRDP | 7.5 | - | 2026-01-14 |
| CVE-2026-22851 | FreeRDP 资源管理错误漏洞 — FreeRDP | 8.1 | - | 2026-01-14 |
| CVE-2025-68969 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 6.8 | Medium | 2026-01-14 |
| CVE-2025-68962 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 5.1 | Medium | 2026-01-14 |
| CVE-2025-68961 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 5.1 | Medium | 2026-01-14 |
| CVE-2025-68960 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.4 | High | 2026-01-14 |
| CVE-2025-68958 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.0 | High | 2026-01-14 |
| CVE-2025-68957 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.4 | High | 2026-01-14 |
| CVE-2025-68956 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.0 | High | 2026-01-14 |
| CVE-2025-68955 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 8.0 | High | 2026-01-14 |
| CVE-2026-20874 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-01-13 |
| CVE-2026-20873 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-01-13 |
| CVE-2026-20867 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-01-13 |
| CVE-2026-20866 | Microsoft Windows 竞争条件问题漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-01-13 |
| CVE-2026-20861 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1809 | 7.8 | High | 2026-01-13 |
| CVE-2026-20853 | Microsoft Windows WalletService 竞争条件问题漏洞 — Windows 10 Version 1607 | 7.4 | High | 2026-01-13 |
| CVE-2026-20848 | Microsoft Windows SMB Server 竞争条件问题漏洞 — Windows 10 Version 1607 | 7.5 | High | 2026-01-13 |
| CVE-2026-21221 | Microsoft Windows 资源管理错误漏洞 — Windows 11 Version 24H2 | 7.0 | High | 2026-01-13 |
| CVE-2026-20830 | Microsoft Windows Server 资源管理错误漏洞 — Windows Server 2025 | 7.0 | High | 2026-01-13 |
| CVE-2026-20934 | Microsoft Windows SMB Server 竞争条件问题漏洞 — Windows 10 Version 1607 | 7.5 | High | 2026-01-13 |
| CVE-2026-20927 | Microsoft Windows SMB Server 竞争条件问题漏洞 — Windows 10 Version 1607 | 5.3 | Medium | 2026-01-13 |
| CVE-2026-20926 | Microsoft Windows SMB Server 竞争条件问题漏洞 — Windows 10 Version 1607 | 7.5 | High | 2026-01-13 |
| CVE-2026-20921 | Microsoft Windows SMB Server 竞争条件问题漏洞 — Windows 10 Version 1607 | 7.5 | High | 2026-01-13 |
CWE-362(使用共享资源的并发执行不恰当同步问题(竞争条件)) 是常见的弱点类别,本平台收录该类弱点关联的 693 条 CVE 漏洞。