Falhas do tipo CWE-367

680 resultados

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

A aplicação verifica uma condição (ex: arquivo existe, usuário tem permissão) e depois atua sobre ela, mas entre a verificação e a ação outro processo pode alterar o estado. Um atacante explora esse intervalo para burlar controles de segurança ou acessar recursos que não deveria.

Exemplo

Um programa verifica se um arquivo é seguro para ler (if (arquivo_existe && nao_eh_symlink)), depois abre e processa. Um atacante substitui o arquivo por um symlink apontando para /etc/passwd entre a verificação e a leitura, conseguindo acessar dados sensíveis.

Como mitigar

Use operações atômicas do SO (open com flags O_NOFOLLOW, O_EXCL; fstat em vez de stat; operações que verificam e atuam em uma única chamada). Implemente locks/mutexes se lógica complexa for necessária, e valide o estado novamente após adquirir recurso.

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%