Fallos del tipo CWE-20

5399 resultados

Validação inadequada de entrada

A aplicação recebe dados de fontes externas (usuário, API, arquivo) sem verificar se estão no formato, tamanho ou tipo esperado antes de usá-los. Isso permite que um atacante envie dados malformados ou maliciosos que podem causar erros, corrupção de dados, execução de código ou acesso não autorizado.

Ejemplo

Um formulário que aceita um número de idade sem validar se é um inteiro positivo entre 0 e 150. Um atacante envia idade=-5 ou idade='DROP TABLE users;' via SQL, e o código processa isso diretamente no banco sem sanitização, causando dano.

Cómo mitigar

Valide TODA entrada externa: verificar tipo, tamanho, formato e intervalo permitido antes de usar. Use whitelists (aceitar apenas valores conhecidos como seguros) em vez de blacklists, e aplique sanitização ou prepared statements para dados que vão em queries. Testes de entrada fuzzing também ajudam a encontrar gaps.

CVE-2021-45116HIGHAn issue was discovered in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1. Due to leveraging the Django Template LanguageEPSS 1.9%CVE-2021-21388HIGHCommand Injection Vulnerability in systeminformationEPSS 1.9%CVE-2018-10888—A flaw was found in libgit2 before version 0.27.3. A missing check in git_delta_apply function in delta.c file, may lead to an out-of-bound EPSS 1.8%CVE-2020-2011HIGHPAN-OS: Panorama registration denial of serviceEPSS 1.8%CVE-2023-39357HIGHA Defect in sql_save() Causes Multiple SQL Injection Vulnerabilities in CactiEPSS 1.8%CVE-2019-1788HIGHClamAV OLE2 File Out-Of-Bounds Write VulnerabilityEPSS 1.8%CVE-2021-29430HIGHDenial of service attack via memory exhaustionEPSS 1.8%CVE-2023-36706MEDIUMWindows Deployment Services Information Disclosure VulnerabilityEPSS 1.8%CVE-2019-12669MEDIUMCisco IOS and IOS XE Software Change of Authorization Denial of Service VulnerabilityEPSS 1.8%CVE-2021-3572—A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue tEPSS 1.8%CVE-2023-25692HIGHApache Airflow Google Provider: Google Cloud Sql Provider Denial Of ServiceEPSS 1.8%CVE-2020-3398HIGHCisco NX-OS Software Border Gateway Protocol Multicast VPN Session Denial of Service VulnerabilityEPSS 1.8%CVE-2019-12656HIGHCisco IOx Application Environment Denial of Service VulnerabilityEPSS 1.8%CVE-2021-21321CRITICALPrefix escapeEPSS 1.8%CVE-2019-1676MEDIUMCisco Meeting Server SIP Processing Denial of Service VulnerabilityEPSS 1.8%CVE-2020-3363HIGHCisco Small Business Smart and Managed Switches Denial of Service VulnerabilityEPSS 1.8%CVE-2024-43611HIGHWindows Routing and Remote Access Service (RRAS) Remote Code Execution VulnerabilityEPSS 1.8%CVE-2021-3673—A vulnerability was found in Radare2 in version 5.3.1. Improper input validation when reading a crafted LE binary can lead to resource exhauEPSS 1.8%CVE-2018-0355—A vulnerability in the web UI of Cisco Unified Communications Manager (Unified CM) could allow an unauthenticated, remote attacker to conducEPSS 1.8%CVE-2020-3397HIGHCisco NX-OS Software Border Gateway Protocol Multicast VPN Denial of Service VulnerabilityEPSS 1.8%