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-27918HIGHWindows Shell Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50321HIGHWindows USB Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50378HIGHWindows Key Guard Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-64773LOWIn JetBrains YouTrack before 2025.3.104432 a race condition allowed bypass of helpdesk Agent limitEPSS 0.2%CVE-2026-34337HIGHWindows Cloud Files Mini Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50676HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54107HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-34334HIGHWindows TCP/IP Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32090HIGHWindows Speech Brokered Api Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50317HIGHWindows Operating Systems Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54991HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-34351HIGHWindows TCP/IP Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-55219MEDIUMPaymenter: Race condition in payWithCredit() enables credit double-spendEPSS 0.2%CVE-2026-26167HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50667HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-78979MEDIUMRace condition in Core in Google Chrome on on Windows prior to 152.0.7977.65 allowed a remote attacker leveraging social engineering to bypaEPSS 0.2%CVE-2026-79014MEDIUMRace condition in Autofill in Google Chrome prior to 152.0.7977.65 allowed a remote attacker who had compromised the renderer process to bypEPSS 0.2%CVE-2023-28984MEDIUMJunos OS: QFX Series: The PFE may crash when a lot of MAC addresses are being learned and agedEPSS 0.2%CVE-2026-32018LOWOpenClaw < 2026.2.19 - Race Condition in Sandbox Registry Write OperationsEPSS 0.2%CVE-2025-13721HIGHRace in v8 in Google Chrome prior to 143.0.7499.41 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.EPSS 0.2%