Falhas do tipo CWE-1284

325 resultados

Validação inadequada de quantidade em entrada

Ocorre quando o software aceita entrada do usuário que especifica uma quantidade (número de items, tamanho de buffer, contagem de loops, etc.) sem validar se esse valor está dentro dos limites esperados. Um atacante pode fornecer uma quantidade excessiva, nula ou negativa, causando alocação de memória descontrolada, loops infinitos, underflow ou acesso a dados não inicializados.

Exemplo

Um serviço web recebe um parâmetro 'quantidade_registros' para retornar dados. Se não validar o valor, um atacante envia quantidade_registros=999999999, forçando alocação massiva de memória e negação de serviço; ou envia -1 e o código interpreta como unsigned, provocando comportamento inesperado.

Como mitigar

Valide explicitamente toda entrada que represente uma quantidade: defina limites mínimo e máximo aceitáveis, rejeite valores fora do intervalo, e use tipos numéricos apropriados (prefira unsigned para contagens, com overflow checks). Teste casos extremos (zero, negativo, muito grande).

CVE-2024-3036MEDIUMCommunication DoS vulnerabilityEPSS 0.3%CVE-2026-45441HIGHWordPress WpEvently plugin <= 5.3.3 - Other Vulnerability Type vulnerabilityEPSS 0.3%CVE-2025-36423MEDIUMIBM Db2 Denial of ServiceEPSS 0.3%CVE-2026-59532HIGHWordPress Booking and Rental Manager plugin <= 2.7.2 - Price Manipulation vulnerabilityEPSS 0.3%CVE-2026-49078HIGHWordPress WP Travel Engine plugin <= 6.7.10 - Other Vulnerability Type vulnerabilityEPSS 0.3%CVE-2026-30573HIGHA Business Logic vulnerability exists in SourceCodester Pharmacy Product Management System 1.0. The vulnerability is located in the add-saleEPSS 0.3%CVE-2024-48290MEDIUMAn issue in the Bluetooth Low Energy implementation of Realtek RTL8762E BLE SDK v1.4.0 allows attackers to cause a Denial of Service (DoS) vEPSS 0.2%CVE-2025-14689MEDIUMIBM Db2 Denial of ServiceEPSS 0.2%CVE-2026-42732MEDIUMWordPress Ads by WPQuads plugin <= 3.0.2 - Broken Authentication vulnerabilityEPSS 0.2%CVE-2024-6068HIGHInput Validation Vulnerability exists in Arena® Input AnalyzerEPSS 0.2%CVE-2026-81851MEDIUMFireware OS Heap-Based Buffer Overflow in iked Allows Denial of ServiceEPSS 0.2%CVE-2025-24100LOWA logic issue was addressed with improved restrictions. This issue is fixed in macOS Sequoia 15.3, macOS Sonoma 14.7.3, macOS Ventura 13.7.3EPSS 0.2%CVE-2026-93015HIGHBlueKitchen BTstack through 1.8.2 A2DP SEP Discovery Out-of-Bounds WriteEPSS 0.2%CVE-2025-13867MEDIUMIBM Db2 Denial of ServiceEPSS 0.2%CVE-2024-53878LOWNVIDIA CUDA toolkit for Linux and Windows contains a vulnerability in the cuobjdump binary, where a user could cause a crash by passing a maEPSS 0.2%CVE-2023-27961MEDIUMMultiple validation issues were addressed with improved input sanitization. This issue is fixed in macOS Ventura 13.3, iOS 16.4 and iPadOS 1EPSS 0.2%CVE-2026-7254MEDIUMOpen BMC Denial of ServiceEPSS 0.2%CVE-2026-11596MEDIUMIn ScreenConnect™ versions prior to 26.2, input validation within the Host Pass creation functionality could allow an authenticated user witEPSS 0.2%CVE-2026-49110HIGHWordPress Upsell Order Bump Offer for WooCommerce plugin <= 3.1.4 - Price Manipulation vulnerabilityEPSS 0.2%CVE-2026-73436MEDIUMSecurity Advisory 0171EPSS 0.2%