Fallos del tipo CWE-362

1089 resultados

Condição de corrida (Race Condition)

Ocorre quando múltiplas threads ou processos acessam e modificam um recurso compartilhado (arquivo, variável, banco de dados) sem sincronização adequada. O resultado final depende da ordem de execução, que é imprevisível, permitindo que um atacante manipule o timing para causar comportamento não autorizado ou corrupção de dados.

Ejemplo

Um aplicativo web verifica se um usuário tem saldo antes de debitar uma transação, mas não mantém lock entre a verificação e o débito. Um atacante dispara dois saques simultâneos da mesma conta; ambos passam na validação antes que qualquer um tenha atualizado o saldo, resultando em saque maior que o disponível.

Cómo mitigar

Use mecanismos de sincronização (mutex, semáforos, locks) ao acessar recursos compartilhados, ou implemente operações atômicas que garantam que verificação e modificação ocorram como uma única unidade indivisível. Em bases de dados, use transações com isolamento adequado (SERIALIZABLE quando necessário).

CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49183HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45597HIGHWindows UI Automation Manager (uiamanager.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-27921HIGHWindows TDI Translation Driver (tdx.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-68840HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49784HIGHMicrosoft Windows App Store Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2021-3702—A race condition flaw was found in ansible-runner, where an attacker could watch for rapid creation and deletion of a temporary directory, sEPSS 0.2%CVE-2026-34345HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62705HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62908HIGHWindows Backup Engine Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45598HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58628HIGHWindows Wireless Network Manager Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-69319HIGHWindows USB Video Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62729HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-58598HIGHWindows Backup Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26173HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32219HIGHMicrosoft Brokering File System Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62780HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32093HIGHWindows Function Discovery Service (fdwsd.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-59126HIGHWindows Event Logging Service Elevation of Privilege VulnerabilityEPSS 0.2%