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-3886 | CatoNetworks CatoClient 安全漏洞 — SDP Client | 7.5 | - | 2025-04-27 |
| CVE-2025-46613 | OpenPLC 竞争条件问题漏洞 — OpenPLC | 7.5 | High | 2025-04-25 |
| CVE-2024-58248 | nopCommerce 安全漏洞 — nopCommerce | 3.5 | Low | 2025-04-16 |
| CVE-2025-27492 | Microsoft Windows Secure Channel 资源管理错误漏洞 — Windows 11 version 22H2 | 7.0 | High | 2025-04-08 |
| CVE-2025-26649 | Microsoft Windows Secure Channel 资源管理错误漏洞 — Windows 11 version 22H2 | 7.0 | High | 2025-04-08 |
| CVE-2025-24808 | Discourse 安全漏洞 — discourse | 4.3 | Medium | 2025-03-26 |
| CVE-2024-7598 | Kubernetes 安全漏洞 — kube-apiserver | 3.1 | Low | 2025-03-20 |
| CVE-2025-30235 | Shearwater SecurEnvoy SecurAccess Enrol 安全漏洞 — SecurAccess | 3.5 | Low | 2025-03-19 |
| CVE-2024-58048 | Huawei HarmonyOS 竞争条件问题漏洞 — HarmonyOS | 6.7 | Medium | 2025-03-04 |
| CVE-2024-58045 | Huawei HarmonyOS 竞争条件问题漏洞 — HarmonyOS | 8.6 | High | 2025-03-04 |
| CVE-2025-1801 | Red Hat Ansible 竞争条件问题漏洞 | 8.1 | High | 2025-03-03 |
| CVE-2025-20119 | Cisco APIC 竞争条件问题漏洞 — Cisco Application Policy Infrastructure Controller (APIC) | 6.0 | Medium | 2025-02-26 |
| CVE-2025-21376 | Microsoft Lightweight Directory Access Protocol 安全漏洞 — Windows 10 Version 1507 | 8.1 | High | 2025-02-11 |
| CVE-2025-0439 | Google Chrome 安全漏洞 — Chrome | 3.1 | - | 2025-01-15 |
| CVE-2025-21101 | Dell Display Manager 竞争条件问题漏洞 — Dell Display Manager | 6.6 | Medium | 2025-01-15 |
| CVE-2025-21278 | Microsoft Windows Remote Desktop Services 竞争条件问题漏洞 — Windows 10 Version 1507 | 6.2 | Medium | 2025-01-14 |
| CVE-2024-12747 | Rsync 竞争条件问题漏洞 | 5.6 | Medium | 2025-01-14 |
| CVE-2024-54120 | Huawei HarmonyOS 竞争条件问题漏洞 — HarmonyOS | 4.1 | Medium | 2025-01-08 |
| CVE-2024-56441 | Huawei HarmonyOS 竞争条件问题漏洞 — HarmonyOS | 4.1 | Medium | 2025-01-08 |
| CVE-2024-52906 | IBM AIX 竞争条件问题漏洞 — AIX | 5.5 | Medium | 2024-12-25 |
| CVE-2024-11144 | LightFTP 安全漏洞 — LightFTP | 7.5 | High | 2024-12-16 |
| CVE-2024-48872 | Mattermost 安全漏洞 — Mattermost | 4.8 | Medium | 2024-12-16 |
| CVE-2024-54122 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 6.2 | Medium | 2024-12-12 |
| CVE-2024-54102 | HUAWEI HarmonyOS 安全漏洞 — HarmonyOS | 6.1 | Medium | 2024-12-12 |
| CVE-2024-49124 | Microsoft Lightweight Directory Access Protocol 竞争条件问题漏洞 — Windows 10 Version 1507 | 8.1 | High | 2024-12-10 |
| CVE-2024-49084 | Microsoft Windows Kernel 竞争条件问题漏洞 — Windows 10 Version 1507 | 7.0 | High | 2024-12-10 |
| CVE-2024-49353 | IBM Cloud Pak for Data 安全漏洞 — Watson Speech Services Cartridge for IBM Cloud Pak for Data | 7.5 | High | 2024-11-26 |
| CVE-2024-50313 | Siemens Mendix Runtime 竞争条件问题漏洞 — Mendix Runtime V10 | 5.3 | Medium | 2024-11-12 |
| CVE-2024-51515 | Huawei HarmonyOS 安全漏洞 — HarmonyOS | 6.2 | Medium | 2024-11-05 |
| CVE-2024-47827 | Argo Workflows 安全漏洞 — argo-workflows | 5.7 | Medium | 2024-10-28 |
CWE-362(使用共享资源的并发执行不恰当同步问题(竞争条件)) 是常见的弱点类别,本平台收录该类弱点关联的 693 条 CVE 漏洞。