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-2020-7838HIGHA arbitrary code execution vulnerability exists in the way that the Stove client improperly validates input value. An attacker could executeEPSS 1.3%CVE-2018-20804MEDIUMInvariant failure in applyOpsEPSS 1.2%CVE-2021-20195—A flaw was found in keycloak in versions before 13.0.0. A Self Stored XSS attack vector escalating to a complete account takeover is possiblEPSS 1.2%CVE-2026-33000CRITICALA malicious actor with access to the network and high privileges could exploit an Improper Input Validation vulnerability found in UniFi OS EPSS 1.2%CVE-2021-34432—In Eclipse Mosquitto versions 2.0.7 and earlier, the server will crash if the client tries to send a PUBLISH packet with topic length = 0.EPSS 1.2%CVE-2021-4204—An out-of-bounds (OOB) memory access flaw was found in the Linux kernel's eBPF due to an Improper Input Validation. This flaw allows a localEPSS 1.2%CVE-2024-1247LOWConcrete CMS version 9 before 9.2.5 vulnerable to stored XSS via the Role Name fieldEPSS 1.2%CVE-2020-3160MEDIUMCisco Meeting Server Extensible Messaging and Presence Protocol Denial of Service VulnerabilityEPSS 1.2%CVE-2022-23624HIGHValidation bypass in frourio-expressEPSS 1.2%CVE-2022-23623HIGHValidation bypass in frourioEPSS 1.2%CVE-2018-1110—A flaw was found in knot-resolver before version 2.3.0. Malformed DNS messages may cause denial of service.EPSS 1.2%CVE-2022-31766HIGHA vulnerability has been identified in RUGGEDCOM RM1224 LTE(4G) EU (6GK6108-4AM00-2BA2) (All versions < V7.1.2), RUGGEDCOM RM1224 LTE(4G) NAEPSS 1.2%CVE-2021-41173MEDIUMDoS via maliciously crafted p2p messageEPSS 1.2%CVE-2022-39232MEDIUMDiscourse vulnerable to incomplete quote causing a topic to crash in the browserEPSS 1.2%CVE-2024-12912HIGHAn improper input insertion vulnerability in AiCloud on certain router models may lead to arbitrary command execution. Refer to the '01/02/2EPSS 1.2%CVE-2020-1679HIGHJunos OS: PTX/QFX Series: Kernel Routing Table (KRT) queue stuck after packet sampling a malformed packet when the tunnel-observation mpls-over-udp configuration is enabled.EPSS 1.2%CVE-2019-1933MEDIUMCisco Email Security Appliance Content Filter Bypass VulnerabilityEPSS 1.2%CVE-2021-29468HIGHArbitrary code execution when checking out an attacker-controlled Git branchEPSS 1.2%CVE-2020-7818HIGHDaviewIndy Heap Overflow VulnerabilityEPSS 1.2%CVE-2024-21448MEDIUMMicrosoft Teams for Android Information Disclosure VulnerabilityEPSS 1.2%