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-53032HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Automotive OS PlatformEPSS 0.1%CVE-2025-20028HIGHTime-of-check time-of-use race condition in the WheaERST SMM module for some Intel(R) reference platforms may allow an escalation of privileEPSS 0.1%CVE-2026-87038HIGHTime-of-check/time-of-use double fetch in the Zephyr i3c_transfer() syscall handler allows kernel-mode control-flow hijack from user modeEPSS 0.1%CVE-2022-33257CRITICALTime-of-check time-of-use race condition in CoreEPSS 0.1%CVE-2025-27725MEDIUMTime-of-check time-of-use race condition for some ACAT before version 3.13 within Ring 3: User Applications may allow a denial of service. UEPSS 0.1%CVE-2026-27670MEDIUMOpenClaw < 2026.3.2 - Arbitrary File Write via ZIP Extraction Parent Symlink Race ConditionEPSS 0.1%CVE-2025-22850MEDIUMTime-of-check time-of-use race condition in the UEFI PdaSmm module for some Intel(R) reference platforms may allow an information disclosureEPSS 0.1%CVE-2026-108361HIGHPrivasys Intra-handshake attested TLS implementation is vulnerable to TOCTOU AttacksEPSS 0.1%CVE-2026-2638HIGHX-VPN macOS website versions - Local Privilege EscalationEPSS 0.1%CVE-2023-28576MEDIUMTime-of-check Time-of-use (TOCTOU) Race Condition in Camera Kernel DriverEPSS 0.1%CVE-2025-64390HIGHA privilege escalation vulnerability exists in PlayStation 4 firmware versions 13.00 through 13.02. The BD-J (Blu-ray Disc Java) sandbox canEPSS 0.1%CVE-2026-104474MEDIUMOpenLiteSpeed before 1.9.3 Local Privilege Escalation via lsup.sh Auto-UpdateEPSS 0.1%CVE-2025-21485HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in DSP ServiceEPSS 0.1%CVE-2026-25704MEDIUMIncomplete privilege drop for com.system76.CosmicGreeter.GetUserDataEPSS 0.1%CVE-2025-21455HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Camera_LinuxEPSS 0.1%CVE-2026-40058HIGHVulnerability Affecting Office Macro Removal in CrowdStrike Falcon Sensor for WindowsEPSS 0.1%CVE-2022-25716MEDIUMTime-of-check Time-of-use Race Condition in Multimedia FrameworkEPSS 0.1%CVE-2026-100597HIGHOpenClaw before 2026.7.1 Path Traversal via Filesystem RaceEPSS 0.1%CVE-2023-33046HIGHTime-of-check Time-of-use (TOCTOU) Race Condition in Trusted Execution EnvironmentEPSS 0.1%CVE-2022-23826LOWA TOCTOU (Time-Of-Check to Time-Of-Use) in the graphics interface may allow an attacker to load registers repeatedly creating a race conditiEPSS 0.1%