Weaknesses of type CWE-20

5,357 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-2021-36042CRITICALMagento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code ExecutionEPSS 2.5%CVE-2023-35368HIGHMicrosoft Exchange Remote Code Execution VulnerabilityEPSS 2.5%CVE-2021-21069HIGHAdobe Creative Cloud Privilege Escalation VulnerabilityEPSS 2.5%CVE-2021-3943A 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.5%CVE-2026-5509HIGHArbitrary Command Injection via Browser Developer Console in TP-Link Archer BE450 and BE7200EPSS 2.5%CVE-2018-14624HIGHA vulnerability was discovered in 389-ds-base through versions 1.3.7.10, 1.3.8.8 and 1.4.0.16. The lock controlling the error log was not coEPSS 2.5%CVE-2020-24427LOWAcrobat Reader DC Codec Input Validation Vulnerability Could Lead to Information DisclosureEPSS 2.4%CVE-2021-32567Reading HTTP/2 frames too many timesEPSS 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-2018-4832A 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-2021-26606CRITICALDreamSecurity MagicLine Buffer Overflow VulnerabilityEPSS 2.4%CVE-2021-3531A flaw was found in the Red Hat Ceph Storage RGW in versions before 14.2.21. When processing a GET Request for a swift URL that ends with twEPSS 2.4%CVE-2018-1102A 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-2019-10973Quest KACE, all versions prior to version 8.0.x, 8.1.x, and 9.0.x, allows unintentional access to the appliance leveraging functions of the EPSS 2.4%CVE-2018-5447An 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%