Falhas do tipo CWE-476

2.328 resultados

Desreferenciação de ponteiro nulo autenticado

O software permite que um usuário autenticado force a desreferenciação de um ponteiro ou referência nula, tipicamente ao passar valores inesperados ou inválidos a uma função. O aplicativo não valida adequadamente a entrada antes de usá-la, causando falha (crash) ou comportamento indefinido que pode levar a negação de serviço.

Exemplo

Um painel administrativo aceita um ID de usuário para deletar, mas não verifica se esse ID existe no banco antes de acessar seus atributos. Um admin autenticado passa ID=0 ou um valor que não corresponde a nenhum registro, e o código tenta acessar propriedades de um objeto nulo, derrubando a aplicação.

Como mitigar

Sempre valide e verifique que referências/ponteiros são válidos antes de desreferenciar: teste se o objeto existe, se o ID é válido e se está dentro do escopo esperado. Use assertions em desenvolvimento e tratamento de exceções robusto em produção para falhas inesperadas.

CVE-2024-36387MEDIUMApache HTTP Server: DoS by Null pointer in websocket over HTTP/2EPSS 1.7%CVE-2024-47007HIGHA NULL pointer dereference in WLAvalancheService.exe of Ivanti Avalanche before version 6.4.5 allows a remote unauthenticated attacker to caEPSS 1.7%CVE-2025-11847MEDIUMA null pointer dereference vulnerability in the IP settings CGI program of the Zyxel VMG3625-T50B firmware versions through 5.50(ABPM.9.6)C0EPSS 1.7%CVE-2021-3480A flaw was found in slapi-nis in versions before 0.56.7. A NULL pointer dereference during the parsing of the Binding DN could allow an unauEPSS 1.7%CVE-2026-59132HIGHWindows TCP/IP Denial of Service VulnerabilityEPSS 1.7%CVE-2023-21700HIGHWindows iSCSI Discovery Service Denial of Service VulnerabilityEPSS 1.7%CVE-2023-24859HIGHWindows Internet Key Exchange (IKE) Extension Denial of Service VulnerabilityEPSS 1.7%CVE-2020-26235MEDIUMSegmentation fault in Rust time crateEPSS 1.6%CVE-2024-27053HIGHwifi: wilc1000: fix RCU usage in connect pathEPSS 1.6%CVE-2021-4110CRITICALNULL Pointer Dereference in mruby/mrubyEPSS 1.6%CVE-2023-3354HIGHImproper i/o watch removal in tls handshake can lead to remote unauthenticated denial of serviceEPSS 1.6%CVE-2022-1620MEDIUMNULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in vim/vimEPSS 1.6%CVE-2022-32663HIGHIn Wi-Fi driver, there is a possible system crash due to null pointer dereference. This could lead to remote denial of service with no additEPSS 1.6%CVE-2020-5736Amcrest cameras and NVR are vulnerable to a null pointer dereference over port 37777. An authenticated remote attacker can abuse this issue EPSS 1.6%CVE-2021-20213A flaw was found in Privoxy in versions before 3.0.29. Dereference of a NULL-pointer that could result in a crash if accept-intercepted-requEPSS 1.6%CVE-2023-39351MEDIUMFreeRDP Null Pointer Dereference leading denial of serviceEPSS 1.6%CVE-2026-20875HIGHWindows Local Security Authority Subsystem Service (LSASS) Denial of Service VulnerabilityEPSS 1.6%CVE-2011-1282HIGHThe Client/Server Run-time Subsystem (aka CSRSS) in the Win32 subsystem in Microsoft Windows XP SP2 and SP3, Windows Server 2003 SP2, WindowEPSS 1.6%CVE-2023-6536MEDIUMKernel: null pointer dereference in __nvmet_req_completeEPSS 1.5%CVE-2023-6535MEDIUMKernel: null pointer dereference in nvmet_tcp_execute_requestEPSS 1.5%