Fallos del tipo CWE-20

5399 resultados

Validação inadequada de entrada

A aplicação recebe dados de fontes externas (usuário, API, arquivo) sem verificar se estão no formato, tamanho ou tipo esperado antes de usá-los. Isso permite que um atacante envie dados malformados ou maliciosos que podem causar erros, corrupção de dados, execução de código ou acesso não autorizado.

Ejemplo

Um formulário que aceita um número de idade sem validar se é um inteiro positivo entre 0 e 150. Um atacante envia idade=-5 ou idade='DROP TABLE users;' via SQL, e o código processa isso diretamente no banco sem sanitização, causando dano.

Cómo mitigar

Valide TODA entrada externa: verificar tipo, tamanho, formato e intervalo permitido antes de usar. Use whitelists (aceitar apenas valores conhecidos como seguros) em vez de blacklists, e aplique sanitização ou prepared statements para dados que vão em queries. Testes de entrada fuzzing também ajudam a encontrar gaps.

CVE-2021-36048HIGHXMP Toolkit SDK Improper Input Validation Could Lead To Arbitrary Code ExecutionEPSS 2.7%CVE-2021-36047HIGHXMP Toolkit SDK Improper Input Validation Could Lead To Arbitrary Code ExecutionEPSS 2.7%CVE-2021-3580—A flaw was found in the way nettle's RSA decryption functions handled specially crafted ciphertext. An attacker could use this flaw to proviEPSS 2.7%CVE-2020-6656MEDIUMFile parsing Type Confusion Remote code execution vulerabilityEPSS 2.7%CVE-2021-32974CRITICALMoxa NPort IAW5000A-I/O Series Serial Device Server Improper Input ValidationEPSS 2.7%CVE-2025-21230HIGHMicrosoft Message Queuing (MSMQ) Denial of Service VulnerabilityEPSS 2.7%CVE-2022-24720CRITICALImproper Input Validation in image_processingEPSS 2.7%CVE-2018-0136—A vulnerability in the IPv6 subsystem of Cisco IOS XR Software Release 5.3.4 for the Cisco Aggregation Services Router (ASR) 9000 Series couEPSS 2.7%CVE-2018-10899HIGHA flaw was found in Jolokia versions from 1.2 to before 1.6.1. Affected versions are vulnerable to a system-wide CSRF. This holds true for pEPSS 2.7%CVE-2020-26243HIGHMemory leak in nanopbEPSS 2.7%CVE-2022-40898HIGHAn issue discovered in Python Packaging Authority (PyPA) Wheel 0.37.1 and earlier allows remote attackers to cause a denial of service via aEPSS 2.7%CVE-2018-14661MEDIUMIt was found that usage of snprintf function in feature/locks translator of glusterfs server 3.8.4, as shipped with Red Hat Gluster Storage,EPSS 2.7%CVE-2024-5988CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.7%CVE-2020-6655MEDIUMFile parsing Out-Of-Bounds read remote code executionEPSS 2.7%CVE-2018-0112—A vulnerability in Cisco WebEx Business Suite clients, Cisco WebEx Meetings, and Cisco WebEx Meetings Server could allow an authenticated, rEPSS 2.6%CVE-2018-0090—A vulnerability in management interface access control list (ACL) configuration of Cisco NX-OS System Software could allow an unauthenticateEPSS 2.6%CVE-2019-1712MEDIUMCisco IOS XR Software Protocol Independent Multicast Denial of Service VulnerabilityEPSS 2.6%CVE-2017-6619—A vulnerability in the web-based GUI of Cisco Integrated Management Controller (IMC) 3.0(1c) could allow an authenticated, remote attacker tEPSS 2.6%CVE-2021-33012HIGHRockwell Automation MicroLogix 1100, all versions, allows a remote, unauthenticated attacker sending specially crafted commands to cause theEPSS 2.6%CVE-2024-1374CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.6%