Fallos del tipo CWE-20

5397 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-2022-26780CRITICALMultiple improper input validation vulnerabilities exists in the libnvram.so nvram_import functionality of InHand Networks InRouter302 V3.5.EPSS 3.1%CVE-2022-26782CRITICALMultiple improper input validation vulnerabilities exists in the libnvram.so nvram_import functionality of InHand Networks InRouter302 V3.5.EPSS 3.1%CVE-2022-20698HIGHClam AntiVirus (ClamAV) Denial of Service VulnerabilityEPSS 3.1%CVE-2021-41561—Apache Parquet-MR potential DoS in case of malicious Parquet fileEPSS 3.1%CVE-2022-24861CRITICALRemote Code Execution in DatabasirEPSS 3.0%CVE-2016-9219—A vulnerability with IPv6 UDP ingress packet processing in Cisco Wireless LAN Controller (WLC) Software could allow an unauthenticated, remoEPSS 3.0%CVE-2021-26622CRITICALGenian NAC remote code execution vulnerabilityEPSS 3.0%CVE-2016-9158HIGHA vulnerability has been identified in SIMATIC S7-300 CPU family (All versions), SIMATIC S7-300 CPU family (incl. related ET200 CPUs and SIPEPSS 3.0%CVE-2022-32786MEDIUMAn issue in the handling of environment variables was addressed with improved validation. This issue is fixed in Security Update 2022-005 CaEPSS 3.0%CVE-2018-0349—A vulnerability in the Cisco SD-WAN Solution could allow an authenticated, remote attacker to overwrite arbitrary files on the underlying opEPSS 3.0%CVE-2025-34113HIGHTiki Wiki CMS Authenticated Command Injection in Calendar ModuleEPSS 3.0%CVE-2017-3825—A vulnerability in the ICMP ingress packet processing of Cisco TelePresence Collaboration Endpoint (CE) Software could allow an unauthenticaEPSS 3.0%CVE-2021-20611HIGHImproper Input Validation vulnerability in Mitsubishi Electric MELSEC iQ-R Series R00/01/02CPU, MELSEC iQ-R Series R04/08/16/32/120(EN)CPU, EPSS 3.0%CVE-2021-42114CRITICALScalable Rowhammering In the Frequency Domain to Bypass TRR Mitigations On Modern DDR4/LPDDR4X DevicesEPSS 3.0%CVE-2020-7071MEDIUMFILTER_VALIDATE_URL accepts URLs with invalid userinfoEPSS 3.0%CVE-2021-1316HIGHCisco Small Business RV Series Routers Management Interface Command Injection VulnerabilitiesEPSS 3.0%CVE-2021-1318HIGHCisco Small Business RV Series Routers Management Interface Command Injection VulnerabilitiesEPSS 3.0%CVE-2021-1317HIGHCisco Small Business RV Series Routers Management Interface Command Injection VulnerabilitiesEPSS 3.0%CVE-2021-1315HIGHCisco Small Business RV Series Routers Management Interface Command Injection VulnerabilitiesEPSS 3.0%CVE-2021-1314HIGHCisco Small Business RV Series Routers Management Interface Command Injection VulnerabilitiesEPSS 3.0%