Weaknesses of type CWE-20

5,361 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-40145CRITICALApache Karaf: JDBC JAAS LDAP injectionEPSS 2.4%CVE-2022-32534HIGHOS Command InjectionEPSS 2.4%CVE-2024-5989CRITICALRockwell Automation ThinManager® ThinServer™ Improper Input Validation VulnerabilityEPSS 2.4%CVE-2019-1747HIGHCisco IOS and IOS XE Software Short Message Service Denial of Service VulnerabilityEPSS 2.4%CVE-2019-1858HIGHCisco FXOS and NX-OS Software Simple Network Management Protocol Denial of Service VulnerabilityEPSS 2.4%CVE-2019-9141HIGHZoneplayer ActiveX Remote Code Execution vulnerabilityEPSS 2.4%CVE-2021-36006LOWAdobe Photoshop MP4 File Parsing Uninitialized Variable Information Disclosure VulnerabilityEPSS 2.4%CVE-2021-1149HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1146HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1299HIGHCisco SD-WAN Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1147HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1298HIGHCisco SD-WAN Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1150HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2021-1148HIGHCisco Small Business RV110W, RV130, RV130W, and RV215W Routers Management Interface Command Injection VulnerabilitiesEPSS 2.4%CVE-2024-1355CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.4%CVE-2022-31779Improper HTTP/2 scheme and method validationEPSS 2.4%CVE-2017-6662A vulnerability in the web-based user interface of Cisco Prime Infrastructure (PI) and Evolved Programmable Network Manager (EPNM) could allEPSS 2.4%CVE-2021-25437Improper access control vulnerability in Tizen FOTA service prior to Firmware update JUL-2021 Release allows attackers to arbitrary code exeEPSS 2.4%CVE-2024-1378CRITICALCommand injection vulnerability was identified in GitHub Enterprise Server that allowed privilege escalation in the Mangement ConsoleEPSS 2.3%CVE-2017-6763A vulnerability in the implementation of the H.264 protocol in Cisco Meeting Server (CMS) 2.1.4 could allow an unauthenticated, remote attacEPSS 2.3%