Weaknesses of type CWE-20

5,393 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-2023-3466HIGHReflected Cross-Site Scripting (XSS) EPSS 2.6%CVE-2023-52137HIGHGitHub Action tj-actions/verify-changed-files is vulnerable to command injection in output filenamesEPSS 2.6%CVE-2023-36707MEDIUMWindows Deployment Services Denial of Service VulnerabilityEPSS 2.6%CVE-2024-2424HIGHRockwell Automation Input/Output Device Vulnerable to Major Nonrecoverable FaultEPSS 2.6%CVE-2020-1714HIGHA flaw was found in Keycloak before version 11.0.0, where the code base contains usages of ObjectInputStream without type checks. This flaw EPSS 2.6%CVE-2022-24098HIGHAdobe Photoshop PCX File Parsing Memory Corruption Remote Code Execution VulnerabilityEPSS 2.6%CVE-2018-10926HIGHA flaw was found in RPC request using gfs3_mknod_req supported by glusterfs server. An authenticated attacker could use this flaw to write fEPSS 2.6%CVE-2021-37149Request Smuggling - multiple attacksEPSS 2.6%CVE-2021-37148Request Smuggling - transfer encoding validationEPSS 2.6%CVE-2020-3454HIGHCisco NX-OS Software Call Home Command Injection VulnerabilityEPSS 2.6%CVE-2018-14663MEDIUMAn issue has been found in PowerDNS DNSDist before 1.3.3 allowing a remote attacker to craft a DNS query with trailing data such that the adEPSS 2.6%CVE-2022-45875CRITICALApache DolphinScheduler: Remote command execution Vulnerability in script alert pluginEPSS 2.5%CVE-2019-1598HIGHCisco FXOS and NX-OS Lightweight Directory Access Protocol Denial of Service VulnerabilitiesEPSS 2.5%CVE-2019-1597HIGHCisco FXOS and NX-OS Lightweight Directory Access Protocol Denial of Service VulnerabilitiesEPSS 2.5%CVE-2018-15450MEDIUMCisco Prime Collaboration Assurance File Overwrite VulnerabilityEPSS 2.5%CVE-2021-36014LOWAdobe Media Encoder MP4 File Parsing Uninitialized Variable Information Disclosure VulnerabilityEPSS 2.5%CVE-2017-3852A vulnerability in the Cisco application-hosting framework (CAF) component of the Cisco IOx application environment could allow an authenticEPSS 2.5%CVE-2023-27043MEDIUMThe email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2EPSS 2.5%CVE-2018-14635MEDIUMWhen using the Linux bridge ml2 driver, non-privileged tenants are able to create and attach ports without specifying an IP address, bypassiEPSS 2.5%CVE-2021-41105HIGHFreeSWITCH susceptible to Denial of Service via invalid SRTP packetsEPSS 2.5%