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-59122HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50503HIGHWindows Runtime Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-42991HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54111HIGHUniversal Print Management Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-26172HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49183HIGHWindows Clipboard Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62727HIGHWindows Telephony Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50669HIGHWindows Telephony Server Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-54112HIGHWindows Win32k Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50371HIGHWindows LUA File Virtualization Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-44800HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49806HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-50404HIGHWindows Media Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-73005HIGHWindows Authentication Methods Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-49802HIGHWindows USB Print Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32165HIGHWindows User Interface Core Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-32160HIGHWindows Push Notifications Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-45596HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-42836HIGHWindows Function Discovery Service (fdwsd.dll) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-33104HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.2%