Falhas do tipo CWE-843

808 resultados

Confusão de Tipo

Fraqueza onde o código trata um dado como se fosse de um tipo diferente do que realmente é, resultando em comportamento imprevisto e potencialmente perigoso. Um atacante pode explorar essa confusão para contornar validações, corromper memória ou executar código arbitrário.

Exemplo

Um navegador recebe um objeto JSON que deveria ser uma string, mas trata como um número inteiro para cálculos de offset em memória — ao somar um valor grande, o atacante causa leitura/escrita fora dos limites do buffer alocado.

Como mitigar

Sempre validar e converter explicitamente o tipo de dados na entrada, usando type checking ou casting seguro. Em linguagens com tipagem dinâmica (JavaScript, Python), adicione verificações de tipo antes de operações críticas; em linguagens compiladas, ative warnings de compilador para conversões implícitas suspeitas.

CVE-2021-24044—By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would EPSS 1.3%CVE-2021-24045—A type confusion vulnerability could be triggered when resolving the "typeof" unary operator in Facebook Hermes prior to v0.10.0. Note that EPSS 1.3%CVE-2022-1176HIGHLoose comparison causes IDOR on multiple endpoints in livehelperchat/livehelperchatEPSS 1.3%CVE-2025-21342HIGHMicrosoft Edge (Chromium-based) Remote Code Execution VulnerabilityEPSS 1.2%CVE-2024-40803HIGHA type confusion issue was addressed with improved checks. This issue is fixed in macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13EPSS 1.2%CVE-2021-32965HIGHDelta Electronics DIAScreen - Type Confusion, Out-of-bounds WriteEPSS 1.2%CVE-2022-34709MEDIUMWindows Defender Credential Guard Security Feature Bypass VulnerabilityEPSS 1.2%CVE-2026-77494HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-57108HIGH.NET Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77890HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77888HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77889HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2026-77499HIGHWindows DHCP Server Denial of Service VulnerabilityEPSS 1.2%CVE-2024-49119HIGHWindows Remote Desktop Services Remote Code Execution VulnerabilityEPSS 1.2%CVE-2023-35356HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 1.2%CVE-2024-6100HIGHType Confusion in V8 in Google Chrome prior to 126.0.6478.114 allowed a remote attacker to execute arbitrary code via a crafted HTML page. (EPSS 1.1%CVE-2024-34392HIGHlibxmljs namespaces type confusion RCEEPSS 1.1%CVE-2023-35297HIGHWindows Pragmatic General Multicast (PGM) Remote Code Execution VulnerabilityEPSS 1.1%CVE-2024-34391HIGHlibxmljs attrs type confusion RCEEPSS 1.1%CVE-2019-15792HIGHType confusion in shiftfsEPSS 1.1%