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-26336—A carefully crafted TNEF file can cause an out of memory exceptionEPSS 1.5%CVE-2022-3157HIGHRockwell Automation GuardLogix and ControlLogix controllers Vulnerable to Denial-Of-Service AttackEPSS 1.5%CVE-2021-20206—An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load iEPSS 1.5%CVE-2021-4125—It was found that the original fix for log4j CVE-2021-44228 and CVE-2021-45046 in the OpenShift metering hive containers was incomplete, as EPSS 1.5%CVE-2023-31039CRITICALApache bRPC: ServerOptions.pid_file may cause arbitrary code executionEPSS 1.5%CVE-2018-0256—A vulnerability in the peer-to-peer message processing functionality of Cisco Packet Data Network Gateway could allow an unauthenticated, reEPSS 1.5%CVE-2021-1513HIGHCisco SD-WAN Software vDaemon Denial of Service VulnerabilityEPSS 1.5%CVE-2023-22886HIGHApache Airflow JDBC Provider: RCE VulnerabilityEPSS 1.5%CVE-2019-12633MEDIUMCisco Unified Contact Center Express Request Processing Server-Side Request Forgery VulnerabilityEPSS 1.5%CVE-2026-0933HIGHOS Command Injection in `wrangler pages deploy`EPSS 1.5%CVE-2019-16027HIGHCisco IOS XR Software Intermediate System–to–Intermediate System Denial of Service VulnerabilityEPSS 1.5%CVE-2026-41042CRITICALApache Gravitino: Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parameterEPSS 1.5%CVE-2017-12173MEDIUMIt was found that sssd's sysdb_search_user_by_upn_res() function before 1.16.0 did not sanitize requests when querying its local cache and wEPSS 1.5%CVE-2019-11289HIGHA forged route service request using an invalid nonce can cause the gorouter to panic and crashEPSS 1.5%CVE-2022-28763HIGHImproper URL parsing in Zoom ClientsEPSS 1.5%CVE-2020-3221HIGHCisco IOS XE Software Flexible NetFlow Version 9 Denial of Service VulnerabilityEPSS 1.5%CVE-2020-3272HIGHCisco Prime Network Registrar DHCP Denial of Service VulnerabilityEPSS 1.5%CVE-2020-3359HIGHCisco IOS XE Software for Catalyst 9800 Series Wireless Controllers Multicast DNS Denial of Service VulnerabilityEPSS 1.5%CVE-2018-3777—Insufficient URI encoding in restforce before 3.0.0 allows attacker to inject arbitrary parameters into Salesforce API requests.EPSS 1.5%CVE-2023-36873HIGH.NET Framework Spoofing VulnerabilityEPSS 1.5%