Weaknesses of type CWE-1287

160 results

Validação inadequada do tipo de entrada especificado

O software aceita dados de entrada sem verificar corretamente se correspondem ao tipo esperado (inteiro, string, booleano, etc.), permitindo que dados malformados ou de tipo inesperado sejam processados. Isso pode levar a comportamentos imprevisto, injeção de código, corrupção de dados ou bypass de controles de segurança.

Example

Uma API que espera um inteiro em um parâmetro de ID de usuário, mas não valida o tipo antes de usar: um atacante envia uma string contendo SQL ('1 OR 1=1') em vez de um número, causando injeção SQL. Ou uma função JavaScript que recebe um objeto esperando propriedades numéricas, mas aceita strings sem conversão, quebrando a lógica de negócio.

How to mitigate

Implemente validação explícita de tipo antes de processar qualquer entrada: use type checking, conversão segura com tratamento de erro, esquemas (como JSON Schema), e rejeite dados que não correspondam ao tipo esperado. Em linguagens fortemente tipadas, configure validadores em tempo de compilação; em linguagens dinâmicas, valide em runtime com bibliotecas apropriadas.

CVE-2025-41395MEDIUMWebapp DoS via malicious retrospective post in PlaybooksEPSS 0.5%CVE-2026-44935CRITICALRancher Fleet vulnerable to cross namespace secret disclosure via unvalidated `valuesFrom` references in Helm DeployerEPSS 0.5%CVE-2025-8556LOWGithub.com/cloudflare/circl: circl-fourq: missing and wrong validation can lead to incorrect resultsEPSS 0.5%CVE-2023-3906LOWImproper Validation of Specified Type of Input in GitLabEPSS 0.5%CVE-2026-4773HIGHOTP Bypass in Magarsus' IDM-MFAEPSS 0.5%CVE-2025-61672MEDIUMSynapse: Invalid device keys degrade federation functionalityEPSS 0.5%CVE-2025-20621MEDIUMWebapp crash via object that can't be cast to String in Attachment FieldEPSS 0.5%CVE-2025-24804MEDIUMPartial Denial of Service (DoS) in MobSFEPSS 0.5%CVE-2021-47156MEDIUMThe Net::IPAddress::Util module before 5.000 for Perl does not properly consider extraneous zero characters in an IP address string, which (EPSS 0.5%CVE-2026-54235MEDIUMvLLM: temperature=NaN and temperature=Infinity bypass validation and propagate to GPU kernelsEPSS 0.4%CVE-2026-33806HIGHfastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type HeaderEPSS 0.4%CVE-2024-51551CRITICALDefault CredentialsEPSS 0.4%CVE-2025-20251HIGHCisco Secure Firewall Adaptive Security Appliance and Cisco Secure Firewall Threat Defense Software Authenticated Arbitrary File DeletionEPSS 0.4%CVE-2023-28799HIGHA URL parameter during login flow was vulnerable to injection. An attacker could insert a malicious domain in this parameter, which would reEPSS 0.4%CVE-2024-20408HIGHA vulnerability in the Dynamic Access Policies (DAP) feature of Cisco Adaptive Security Appliance (ASA) Software and Cisco Firepower Threat EPSS 0.4%CVE-2025-20086MEDIUMInsufficient Input Validation on Post PropsEPSS 0.4%CVE-2025-25020MEDIUMIBM QRadar Suite Software and IBM Cloud Pak for Security improper input validationEPSS 0.4%CVE-2025-55701HIGHWindows Authentication Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-41729HIGHDoS via Modbus Read CommandEPSS 0.4%CVE-2026-9521MEDIUMfraillt bitsery std_smart_ptr.h loadFromSharedState improper validation of specified type of inputEPSS 0.4%