Weaknesses of type CWE-362

1,086 results

Condição de corrida

Ocorre quando dois ou mais processos/threads acessam e modificam um recurso compartilhado simultaneamente, sem sincronização adequada. O resultado final depende da ordem e timing das operações, criando estados inconsistentes que podem ser explorados para contornar controles de segurança, corromper dados ou ganhar privilégios.

Example

Um aplicativo verifica se um arquivo existe e tem permissão de leitura (check), depois o abre (use). Um atacante, entre o check e o use, substitui o arquivo por um link simbólico apontando para /etc/passwd. O programa abre inadvertidamente um arquivo sensível que não deveria acessar.

How to mitigate

Use primitivas de sincronização (mutexes, semáforos, locks) para serializar acessos críticos. Quando possível, use operações atômicas do SO (ex: open com flags O_EXCL) que combinam check e use em uma única syscall indivisível. Validar estado antes de cada operação crítica, não apenas uma vez.

CVE-2026-23668HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 3.6%CVE-2026-4368HIGHRace Condition leading to User Session MixupEPSS 3.6%CVE-2023-32254CRITICALTree connection race condition remote code execution vulnerabilityEPSS 2.9%CVE-2024-7885HIGHUndertow: improper state management in proxy protocol parsing causes information leakageEPSS 2.6%CVE-2023-32250CRITICALSession race condition remote code execution vulnerabilityEPSS 2.6%CVE-2026-21231HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 2.6%CVE-2023-32258HIGHSession race condition remote code execution vulnerabilityEPSS 2.5%CVE-2023-32257HIGHSession race condition remote code execution vulnerabilityEPSS 2.4%CVE-2023-6200HIGHKernel: icmpv6 router advertisement packets, aka linux tcp/ip remote code execution vulnerabilityEPSS 2.2%CVE-2021-32686MEDIUMDenial of Service in PJSIPEPSS 2.1%CVE-2023-33170HIGHASP.NET and Visual Studio Security Feature Bypass VulnerabilityEPSS 2.0%CVE-2022-26821MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 1.9%CVE-2021-32810CRITICALData race in crossbeam-dequeEPSS 1.9%CVE-2025-52434HIGHApache Tomcat: APR/Native Connector crash leading to DoSEPSS 1.9%CVE-2021-43980LOWApache Tomcat: Information disclosureEPSS 1.9%CVE-2017-7543MEDIUMA race-condition flaw was discovered in openstack-neutron before 7.2.0-12.1, 8.x before 8.3.0-11.1, 9.x before 9.3.1-2.1, and 10.x before 10EPSS 1.9%CVE-2021-4203A use-after-free read flaw was found in sock_getsockopt() in net/core/sock.c due to SO_PEERCRED and SO_PEERGROUPS race with listen() (and coEPSS 1.7%CVE-2024-30046MEDIUMVisual Studio Denial of Service VulnerabilityEPSS 1.7%CVE-2020-15707MEDIUMGRUB2 contained integer overflows when handling the initrd command, leading to a heap-based buffer overflow.EPSS 1.6%CVE-2018-10850MEDIUM389-ds-base before versions 1.4.0.10, 1.3.8.3 is vulnerable to a race condition in the way 389-ds-base handles persistent search, resulting EPSS 1.6%