Weaknesses of type CWE-20

5,416 results

Validação inadequada de entrada

O software recebe dados do usuário ou de fontes externas, mas não verifica ou verifica de forma incompleta se esses dados têm as propriedades necessárias para processar com segurança. Isso permite que entradas malformadas, maliciosas ou inesperadas passem por controles e causem comportamentos indevidos — desde crashes até injeção de código.

Example

Uma aplicação web recebe um parâmetro numérico via GET, mas não valida se é realmente um número inteiro válido antes de usá-lo em uma consulta SQL. Um atacante envia um valor com caracteres especiais (ex: `1' OR '1'='1`), conseguindo injetar código SQL direto no banco de dados.

How to mitigate

Implemente validação rigorosa na entrada: defina o tipo, formato, comprimento e intervalo esperados; rejeite tudo que não se encaixe. Use listas de caracteres permitidos ('whitelist'), escape de dados para o contexto específico (SQL, HTML, URL) e bibliotecas de validação consolidadas. Nunca confie em dados do cliente.

CVE-2018-25004MEDIUMInvariant failure when explaining a find with a UUIDEPSS 1.0%CVE-2021-22800—A CWE-20: Improper Input Validation vulnerability exists that could cause a Denial of Service when a crafted packet is sent to the controlleEPSS 1.0%CVE-2022-21687MEDIUMCommand injection in gh-ostEPSS 1.0%CVE-2020-3568MEDIUMCisco Email Security Appliance URL Filtering Bypass VulnerabilityEPSS 1.0%CVE-2022-47100HIGHA vulnerability in Sengled Smart bulb 0x0000024 allows attackers to arbitrarily perform a factory reset on the device via a crafted IEEE 802EPSS 1.0%CVE-2023-38704HIGHimport-in-the-middle allows unsanitized user controlled input in module generationEPSS 1.0%CVE-2026-40176HIGHComposer is vulnerable to Command Injection via Malicious Perforce RepositoryEPSS 1.0%CVE-2020-7866HIGHTobesoft XPLATFORM Arbitrary Command Execution VulnerabilityEPSS 1.0%CVE-2021-26618HIGHTmax ToOffice arbitrary file creation vulnerabilityEPSS 1.0%CVE-2025-55270LOWHCL Aftermarket DPC is affected by Improper Input ValidationEPSS 1.0%CVE-2022-0484HIGHImproper URL Validation causes Mirantis Container Cloud Lens Extension to open external programsEPSS 1.0%CVE-2017-12228—A vulnerability in the Cisco Network Plug and Play application of Cisco IOS 12.4 through 15.6 and Cisco IOS XE 3.3 through 16.4 could allow EPSS 1.0%CVE-2022-29606CRITICALAn issue was discovered in ONOS 2.5.1. An intent with a large port number shows the CORRUPT state, which is misleading to a network operatorEPSS 1.0%CVE-2025-50151HIGHApache Jena: Configuration files uploaded by administrative users are not check properlyEPSS 1.0%CVE-2019-16761MEDIUMValidator parsing discrepancy due to string encoding in NPM slp-validate 1.0.0EPSS 1.0%CVE-2020-3205HIGHCisco IOS Software for Cisco Industrial Routers Virtual Device Server Inter-VM Channel Command Injection VulnerabilityEPSS 1.0%CVE-2020-1756—In Moodle before 3.8.2, 3.7.5, 3.6.9 and 3.5.11, insufficient input escaping was applied to the PHP unit webrunner admin tool.EPSS 1.0%CVE-2017-15137MEDIUMThe OpenShift image import whitelist failed to enforce restrictions correctly when running commands such as "oc tag", for example. This coulEPSS 1.0%CVE-2025-43223HIGHA denial-of-service issue was addressed with improved input validation. This issue is fixed in iOS 18.6 and iPadOS 18.6, iPadOS 17.7.9, macOEPSS 1.0%CVE-2026-20093CRITICALCisco Integrated Management Controller Authentication Bypass VulnerabilityEPSS 1.0%