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-2025-49743 | Microsoft Graphics Component 资源管理错误漏洞 — Windows 10 Version 1507 | 6.7 | Medium | 2025-08-12 |
| CVE-2025-22830 | AMI APTIOV 安全漏洞 — AptioV | 7.0AI | High AI | 2025-08-12 |
| CVE-2025-25278 | OpenHarmony 竞争条件问题漏洞 — OpenHarmony | 8.4 | High | 2025-08-11 |
| CVE-2025-27577 | OpenHarmony 竞争条件问题漏洞 — OpenHarmony | 8.4 | High | 2025-08-11 |
| CVE-2025-7954 | Shopware 安全漏洞 — Shopware | 5.9AI | Medium AI | 2025-08-06 |
| CVE-2025-54651 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 4.8 | Medium | 2025-08-06 |
| CVE-2025-54629 | Huawei EMUI和Huawei HarmonyOS 安全漏洞 — HarmonyOS | 6.7 | Medium | 2025-08-06 |
| CVE-2025-54955 | OpenNebula 竞争条件问题漏洞 — OpenNebula | 8.1 | High | 2025-08-02 |
| CVE-2025-25214 | WWBN AVideo 竞争条件问题漏洞 — AVideo | 8.8 | High | 2025-07-24 |
| CVE-2025-52434 | Apache Tomcat 竞争条件问题漏洞 — Apache Tomcat | 8.1 | - | 2025-07-10 |
| CVE-2025-49737 | Microsoft Teams 竞争条件问题漏洞 — Microsoft Teams for Mac, New Edition | 7.0 | High | 2025-07-08 |
| CVE-2025-49665 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1507 | 7.8 | High | 2025-07-08 |
| CVE-2025-49690 | Microsoft Windows 资源管理错误漏洞 — Windows 10 Version 1809 | 7.4 | High | 2025-07-08 |
| CVE-2025-47972 | Microsoft Input Method Editor 竞争条件问题漏洞 — Windows 10 Version 1507 | 8.0 | High | 2025-07-08 |
| CVE-2025-1351 | IBM Storage Virtualize 竞争条件问题漏洞 — Storage Virtualize | 6.7 | Medium | 2025-07-07 |
| CVE-2025-52993 | Nix、lix和GNU Guix 竞争条件问题漏洞 — Nix | 5.6 | Medium | 2025-06-27 |
| CVE-2025-40569 | Siemens多款产品 竞争条件问题漏洞 — RUGGEDCOM RST2428P | 4.8 | Medium | 2025-06-10 |
| CVE-2025-24493 | OpenHarmony 竞争条件问题漏洞 — OpenHarmony | 5.5 | Medium | 2025-06-08 |
| CVE-2025-5054 | Canonical Apport 安全漏洞 — Apport | 4.7 | Medium | 2025-05-30 |
| CVE-2025-48880 | FreeScout 竞争条件问题漏洞 — freescout | 4.2AI | Medium AI | 2025-05-30 |
| CVE-2025-48751 | ProcessLock 竞争条件问题漏洞 — ProcessLock | 2.9 | Low | 2025-05-24 |
| CVE-2025-48753 | Anode 竞争条件问题漏洞 — anode | 2.9 | Low | 2025-05-24 |
| CVE-2025-0372 | HYPR Passwordless 安全漏洞 — Passwordless | 7.0AI | High AI | 2025-05-21 |
| CVE-2025-32421 | Next.js 竞争条件问题漏洞 — next.js | 3.7 | Low | 2025-05-14 |
| CVE-2025-29841 | Microsoft Universal Print 资源管理错误漏洞 — Windows 10 Version 21H2 | 7.0 | High | 2025-05-13 |
| CVE-2025-47735 | wgp 安全漏洞 — wgp | 2.9 | Low | 2025-05-09 |
| CVE-2025-46336 | Rack::Session 安全漏洞 — rack-session | 4.2 | Medium | 2025-05-08 |
| CVE-2025-32441 | Rack 安全漏洞 — rack | 4.2 | Medium | 2025-05-07 |
| CVE-2025-47545 | WordPress plugin Poll Maker 竞争条件问题漏洞 — Poll Maker | 5.3 | Medium | 2025-05-07 |
| CVE-2025-1493 | IBM Db2 竞争条件问题漏洞 — Db2 for Linux, UNIX and Windows | 5.3 | Medium | 2025-05-05 |
CWE-362(使用共享资源的并发执行不恰当同步问题(竞争条件)) 是常见的弱点类别,本平台收录该类弱点关联的 693 条 CVE 漏洞。