Fallos del tipo CWE-20

5887 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-22768CRITICALA CWE-20: Improper Input Validation vulnerability exists in PowerLogic EGX100 (Versions 3.0.0 and newer) and PowerLogic EGX300 (All VersionsEPSS 2.8%CVE-2018-0419—A vulnerability in certain attachment detection mechanisms of Cisco Email Security Appliances (ESA) could allow an unauthenticated, remote aEPSS 2.8%CVE-2024-0057CRITICALNET, .NET Framework, and Visual Studio Security Feature Bypass VulnerabilityEPSS 2.8%CVE-2022-24098HIGHAdobe Photoshop PCX File Parsing Memory Corruption Remote Code Execution VulnerabilityEPSS 2.8%CVE-2019-11687HIGHAn issue was discovered in the DICOM Part 10 File Format in the NEMA DICOM Standard 1995 through 2019b and continuing in current implementatEPSS 2.8%CVE-2020-6655MEDIUMFile parsing Out-Of-Bounds read remote code executionEPSS 2.8%CVE-2019-1741HIGHCisco IOS XE Software Encrypted Traffic Analytics Denial of Service VulnerabilityEPSS 2.8%CVE-2022-45875CRITICALApache DolphinScheduler: Remote command execution Vulnerability in script alert pluginEPSS 2.8%CVE-2019-1710CRITICALCisco IOS XR 64-Bit Software for Cisco ASR 9000 Series Aggregation Services Routers Network Isolation VulnerabilityEPSS 2.8%CVE-2014-2357—SUBNET SubSTATION Server 2 Telegyr 8979 Master Protocol Improper Input ValidationEPSS 2.7%CVE-2018-12547—In Eclipse OpenJ9, prior to the 0.12.0 release, the jio_snprintf() and jio_vsnprintf() native methods ignored the length parameter. This affEPSS 2.7%CVE-2024-38095HIGH.NET and Visual Studio Denial of Service VulnerabilityEPSS 2.7%CVE-2023-47804—Apache OpenOffice: Macro URL arbitrary script executionEPSS 2.7%CVE-2025-21230HIGHMicrosoft Message Queuing (MSMQ) Denial of Service VulnerabilityEPSS 2.7%CVE-2023-36707MEDIUMWindows Deployment Services Denial of Service VulnerabilityEPSS 2.7%CVE-2018-0371—A vulnerability in the Web Admin Interface of Cisco Meeting Server could allow an authenticated, remote attacker to cause a denial of servicEPSS 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-2021-36047HIGHXMP Toolkit SDK Improper Input Validation Could Lead To Arbitrary Code ExecutionEPSS 2.7%CVE-2021-36048HIGHXMP Toolkit SDK Improper Input Validation Could Lead To Arbitrary Code ExecutionEPSS 2.7%CVE-2021-32974CRITICALMoxa NPort IAW5000A-I/O Series Serial Device Server Improper Input ValidationEPSS 2.7%