Weaknesses of type CWE-20

5,847 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-2022-32534HIGHOS Command InjectionEPSS 2.5%CVE-2016-9578HIGHA vulnerability was discovered in SPICE before 0.13.90 in the server's protocol handling. An attacker able to connect to the SPICE server coEPSS 2.5%CVE-2026-5509HIGHArbitrary Command Injection via Browser Developer Console in TP-Link Archer BE450 and BE7200EPSS 2.5%CVE-2021-32566—Specific sequence of HTTP/2 frames can cause ATS to crashEPSS 2.4%CVE-2021-32567—Reading HTTP/2 frames too many timesEPSS 2.4%CVE-2020-24427LOWAcrobat Reader DC Codec Input Validation Vulnerability Could Lead to Information DisclosureEPSS 2.4%CVE-2024-38230MEDIUMWindows Standards-Based Storage Management Service Denial of Service VulnerabilityEPSS 2.4%CVE-2019-1616HIGHCisco NX-OS Software Cisco Fabric Services Denial of Service VulnerabilityEPSS 2.4%CVE-2021-26606CRITICALDreamSecurity MagicLine Buffer Overflow VulnerabilityEPSS 2.4%CVE-2026-2113MEDIUMyuan1994 tpadmin WebUploader preview.php deserializationEPSS 2.4%CVE-2018-4832—A vulnerability has been identified in OpenPCS 7 V7.1 and earlier (All versions), OpenPCS 7 V8.0 (All versions), OpenPCS 7 V8.1 (All versionEPSS 2.4%CVE-2018-1102—A flaw was found in source-to-image function as shipped with Openshift Enterprise 3.x. An improper path validation of tar files in ExtractTaEPSS 2.4%CVE-2018-0295—A vulnerability in the Border Gateway Protocol (BGP) implementation of Cisco NX-OS Software could allow an unauthenticated, remote attacker EPSS 2.4%CVE-2018-5447—An Improper Input Validation issue was discovered in Nari PCS-9611 relay. An improper input validation vulnerability has been identified thaEPSS 2.4%CVE-2021-26624HIGHeScan Anti-Virus Local privilege escalation VulnerabilityEPSS 2.4%CVE-2022-24818HIGHUnchecked JNDI lookups in GeoToolsEPSS 2.4%CVE-2021-36034CRITICALMagento Commerce Improper Input Validation Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2021-36041CRITICALMagento Commerce Improper Input Validation Could Lead To Remote Code ExecutionEPSS 2.4%CVE-2021-3943—A flaw was found in Moodle in versions 3.11 to 3.11.3, 3.10 to 3.10.7, 3.9 to 3.9.10 and earlier unsupported versions. A remote code executiEPSS 2.4%CVE-2024-5989CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.4%