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-2019-1738HIGHCisco IOS and IOS XE Software Network-Based Application Recognition Denial of Service VulnerabilityEPSS 2.5%CVE-2018-15460HIGHCisco Email Security Appliance URL Filtering Denial of Service VulnerabilityEPSS 2.5%CVE-2018-0416MEDIUMCisco Wireless LAN Controller Software Information Disclosure VulnerabilityEPSS 2.5%CVE-2017-3850—A vulnerability in the Autonomic Networking Infrastructure (ANI) feature of Cisco IOS Software (15.4 through 15.6) and Cisco IOS XE SoftwareEPSS 2.5%CVE-2019-10245—In Eclipse OpenJ9 prior to the 0.14.0 release, the Java bytecode verifier incorrectly allows a method to execute past the end of bytecode arEPSS 2.5%CVE-2023-35368HIGHMicrosoft Exchange Remote Code Execution VulnerabilityEPSS 2.5%CVE-2023-5043HIGHIngress nginx annotation injection causes arbitrary command executionEPSS 2.5%CVE-2022-31779—Improper HTTP/2 scheme and method validationEPSS 2.5%CVE-2022-28129—Insufficient Validation of HTTP/1.x HeadersEPSS 2.5%CVE-2022-31780—HTTP/2 framing vulnerabilitiesEPSS 2.5%CVE-2022-25757—Apache APISIX: the body_schema check in request-validation plugin can be bypassedEPSS 2.5%CVE-2022-24775HIGHImproper Input Validation in guzzlehttp/psr7EPSS 2.5%CVE-2023-3893HIGHKubernetes - csi-proxy - Insufficient input sanitization leads to privilege escalationEPSS 2.5%CVE-2021-1147HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1148HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1150HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-1146HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2021-36042CRITICALMagento Commerce API File Option Upload Extension Improper Input Validation Vulnerability Could Lead To Remote Code ExecutionEPSS 2.5%CVE-2021-1149HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.5%CVE-2018-1104—Ansible Tower through version 3.2.3 has a vulnerability that allows users only with access to define variables for a job template to executeEPSS 2.5%