Fallos del tipo CWE-367

800 resultados

Condição de corrida entre verificação e uso (TOCTOU)

Ocorre quando o código verifica uma condição (ex: permissão de arquivo, saldo bancário) e depois usa o recurso, mas entre a verificação e o uso algo muda. Um atacante explora essa janela de tempo para alterar o estado, burlar a validação e executar operações não autorizadas.

Ejemplo

Um processo verifica se tem permissão de leitura em um arquivo, mas antes de ler, um outro processo muda o arquivo de lugar ou altera suas permissões. O primeiro processo tenta ler o que acredita ser o arquivo autorizado, mas na verdade acessa outro recurso.

Cómo mitigar

Use operações atômicas que combinam verificação e acesso em um único passo (ex: abrir arquivo com flags específicas). Em transações, implemente locks ou mecanismos de sincronização para evitar mudanças entre a validação e execução da ação.

CVE-2024-45565HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Camera DriverEPSS 0.1%CVE-2024-53018MEDIUMTime-of-check Time-of-use (TOCTOU) Race Condition in Camera DriverEPSS 0.1%CVE-2026-32977MEDIUMOpenClaw < 2026.3.11 - Sandbox Boundary Bypass via Unanchored writeFile Commit PathEPSS 0.1%CVE-2026-32988MEDIUMOpenClaw < 2026.3.11 - Sandbox Boundary Bypass via Unvalidated Temporary File CreationEPSS 0.1%CVE-2026-49958MEDIUMHermes WebUI < 0.51.303 TOCTOU Race Condition via git_discardEPSS 0.1%CVE-2024-53016MEDIUMTime-of-check Time-of-use (TOCTOU) Race Condition in Camera DriverEPSS 0.1%CVE-2026-43529LOWOpenClaw < 2026.4.10 - Time-of-Check-Time-of-Use (TOCTOU) Race Condition in exec Script Preflight ValidatorEPSS 0.1%CVE-2025-21431MEDIUMTime-of-check Time-of-use (TOCTOU) Race Condition in Automotive OS PlatformEPSS 0.1%CVE-2026-20454MEDIUMIn geniezone, there is a possible out of bounds write due to a race condition. This could lead to local escalation of privilege if a malicioEPSS 0.1%CVE-2023-33119HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in HypervisorEPSS 0.1%CVE-2026-58716MEDIUMIn multiple locations, there is a possible time-of-check to time-of-use due to a race condition. This could lead to local escalation of privEPSS 0.1%CVE-2024-38407HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in CameraEPSS 0.1%CVE-2024-45560HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in CameraEPSS 0.1%CVE-2024-38418HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Camera LinuxEPSS 0.1%CVE-2026-41051MEDIUMcsync2 uses insecure temporary directories when compiled with C99 or laterEPSS 0.1%CVE-2024-38406HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in CameraEPSS 0.1%CVE-2026-101308MEDIUMTOCTOU race between sound(4) buffer resizing and mmapEPSS 0.1%CVE-2026-35374MEDIUMuutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race ConditionEPSS 0.1%CVE-2026-25278HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Automotive Software platform based on QNXEPSS 0.1%CVE-2026-25271HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in DSP ServiceEPSS 0.1%