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-2018-10918MEDIUMA null pointer dereference flaw was found in the way samba checked database outputs from the LDB database layer. An authenticated attacker cEPSS 2.5%CVE-2016-6561illumos smbsrv NULL pointer dereference allows system crash.EPSS 2.5%CVE-2024-38145HIGHWindows Layer-2 Bridge Network Driver Denial of Service VulnerabilityEPSS 2.5%CVE-2024-38146HIGHWindows Layer-2 Bridge Network Driver Denial of Service VulnerabilityEPSS 2.5%CVE-2023-29179MEDIUMA null pointer dereference in Fortinet FortiOS version 7.2.0 through 7.2.4, 7.0.0 through 7.0.11, 6.4.0 through 6.4.12, Fortiproxy version 7EPSS 2.5%CVE-2021-40732MEDIUMXMP Toolkit SDK Null Pointer DereferenceEPSS 2.4%CVE-2018-10914MEDIUMIt was found that an attacker could issue a xattr request via glusterfs FUSE to cause gluster brick process to crash which will result in a EPSS 2.4%CVE-2024-38233HIGHWindows Networking Denial of Service VulnerabilityEPSS 2.4%CVE-2010-4816It was found in FreeBSD 8.0, 6.3 and 4.9, and OpenBSD 4.6 that a null pointer dereference in ftpd/popen.c may lead to remote denial of serviEPSS 2.4%CVE-2021-39860MEDIUMAdobe Acrobat Reader DC Search Plugin Null Pointer DereferenceEPSS 2.4%CVE-2021-39854MEDIUMAdobe Acrobat Reader DC Null Pointer Dereference Could Lead To Application Denial-of-ServiceEPSS 2.4%CVE-2020-10703MEDIUMA NULL pointer dereference was found in the libvirt API responsible introduced in upstream version 3.10.0, and fixed in libvirt 6.0.0, for fEPSS 2.4%CVE-2024-49121HIGHWindows Lightweight Directory Access Protocol (LDAP) Denial of Service VulnerabilityEPSS 2.4%CVE-2020-10739HIGHIstio 1.4.x before 1.4.9 and Istio 1.5.x before 1.5.4 contain the following vulnerability when telemetry v2 is enabled: by sending a specialEPSS 2.3%CVE-2023-36602HIGHWindows TCP/IP Denial of Service VulnerabilityEPSS 2.3%CVE-2023-36603HIGHWindows TCP/IP Denial of Service VulnerabilityEPSS 2.3%CVE-2016-8626MEDIUMA flaw was found in Red Hat Ceph before 0.94.9-8. The way Ceph Object Gateway handles POST object requests permits an authenticated attackerEPSS 2.3%CVE-2024-38232HIGHWindows Networking Denial of Service VulnerabilityEPSS 2.3%CVE-2023-40459HIGHImproper input leads to DoSEPSS 2.3%CVE-2023-26463CRITICALstrongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a variable named "public" for two different purposes witEPSS 2.3%