Fallos del tipo CWE-367

680 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-2022-48682MEDIUMIn deletefiles in FDUPES before 2.2.0, a TOCTOU race condition allows arbitrary file deletion via a symlink.EPSS 0.2%CVE-2024-50234HIGHwifi: iwlegacy: Clear stale interrupts before resuming deviceEPSS 0.2%CVE-2026-55524HIGHPraisonAI: SSRF in web_crawl tool via redirect-following and DNS rebinding (validate-then-fetch gap)EPSS 0.2%CVE-2026-69563HIGHWindows Program Compatibility Assistant Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-58407HIGHGPU DDK - TOCTOU bug affecting psFWMemContext->uiPageCatBaseRegSetEPSS 0.2%CVE-2026-73829MEDIUMNon-atomic hash-credential dedup in mpp Tempo allows replay of a confirmed payment under a concurrent raceEPSS 0.2%CVE-2022-48191HIGHA vulnerability exists in Trend Micro Maximum Security 2022 (17.7) wherein a low-privileged user can write a known malicious executable to aEPSS 0.2%CVE-2026-42592MEDIUMGotenberg: DNS rebinding bypasses SSRF validation on Chromium URL conversion routesEPSS 0.2%CVE-2025-59261HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2023-5760HIGHTime-of-check to time-of-use (TOCTOU) bug leads to full local privilege escalation.EPSS 0.2%CVE-2026-69859HIGHWindows USB Audio Class driver (usbaudio.sys) Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-62728HIGHWindows Common Log File System Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2026-78464HIGHWindows MIDI Service Module Elevation of Privileges VulnerabilityEPSS 0.2%CVE-2023-28075MEDIUM Dell BIOS contain a Time-of-check Time-of-use vulnerability in BIOS. A local authenticated malicious user with physical access to the systeEPSS 0.2%CVE-2026-42336MEDIUMMaxKB: SSRF Bypass via DNS Rebinding in MaxKB OSS URL FetchEPSS 0.2%CVE-2021-4001A race condition was found in the Linux kernel's ebpf verifier between bpf_map_update_elem and bpf_map_freeze due to a missing lock in kerneEPSS 0.2%CVE-2026-27929HIGHWindows LUA File Virtualization Filter Driver Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2023-22883HIGHLocal Privilege Escalation in Zoom for Windows InstallersEPSS 0.2%CVE-2026-45487HIGHWindows Program Compatibility Assistant Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2024-3290HIGHRace ConditionEPSS 0.2%