Falhas do tipo CWE-121

3.834 resultados

Estouro de buffer na pilha

Ocorre quando código escreve mais dados em um buffer alocado na pilha do que sua capacidade permite, sobrescrevendo dados adjacentes (variáveis, endereços de retorno). Um atacante pode explorar isso para executar código arbitrário ou crashar a aplicação alterando o fluxo de execução.

Exemplo

Uma função C que copia uma string do usuário diretamente em um array local sem validar tamanho: `char buffer[10]; strcpy(buffer, user_input);`. Se user_input tiver 50 caracteres, os 40 extras sobrescrevem a pilha, incluindo potencialmente o endereço de retorno da função.

Como mitigar

Use funções seguras que limitam escrita (strncpy, snprintf em vez de strcpy/sprintf), valide tamanho de entrada antes de copiar, ative proteções do compilador (stack canaries, ASLR) e use ferramentas de análise estática para detectar cópias sem limite.

CVE-2024-33516MEDIUMAn unauthenticated Denial of Service (DoS) vulnerability exists in the Auth service accessed via the PAPI protocol provided by ArubaOS. SucEPSS 0.6%CVE-2024-37640HIGHTOTOLINK A3700R V9.1.2u.6165_20211012 was discovered to contain a stack overflow via ssid5g in the function setWiFiEasyGuestCfg.EPSS 0.6%CVE-2022-40717HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is EPSS 0.6%CVE-2022-40718HIGHThis vulnerability allows network-adjacent attackers to execute arbitrary code on affected D-Link DIR-2150 4.0.1 routers. Authentication is EPSS 0.6%CVE-2024-37633HIGHTOTOLINK A3700R V9.1.2u.6165_20211012 was discovered to contain a stack overflow via ssid in the function setWiFiGuestCfgEPSS 0.6%CVE-2024-20520MEDIUMCisco Small Business RV042, RV042G, RV320, and RV325 Remote Command Execution VulnerabilitiesEPSS 0.6%CVE-2024-37631HIGHTOTOLINK A3700R V9.1.2u.6165_20211012 was discovered to contain a stack overflow via the File parameter in function UploadCustomModule.EPSS 0.6%CVE-2024-20518MEDIUMCisco Small Business RV042, RV042G, RV320, and RV325 Remote Command Execution VulnerabilitiesEPSS 0.6%CVE-2024-37639HIGHTOTOLINK A3700R V9.1.2u.6165_20211012 was discovered to contain a stack overflow via eport in the function setIpPortFilterRules.EPSS 0.6%CVE-2024-20519MEDIUMCisco Small Business RV042, RV042G, RV320, and RV325 Remote Command Execution VulnerabilitiesEPSS 0.6%CVE-2024-33181HIGHTenda AC18 V15.03.3.10_EN was discovered to contain a stack-based buffer overflow vulnerability via the deviceMac parameter at ip/goform/addEPSS 0.6%CVE-2024-46047MEDIUMTenda FH451 v1.0.0.9 has a stack overflow vulnerability in the fromDhcpListClient function.EPSS 0.6%CVE-2024-44565HIGHTenda AX1806 v1.0.0.1 contains a stack overflow via the serverName parameter in the function form_fast_setting_internet_set.EPSS 0.6%CVE-2024-20772HIGHAdobe Media Encoder 2024 AI file parsing Stack based buffer overflowEPSS 0.6%CVE-2024-44563HIGHTenda AX1806 v1.0.0.1 contains a stack overflow via the iptv.stb.port parameter in the function setIptvInfo.EPSS 0.6%CVE-2020-7836HIGHVOICEYE WSActiveBridgeES versions prior to 2.1.0.3 contains a stack-based buffer overflow vulnerability caused by improper bound checking paEPSS 0.6%CVE-2024-44557HIGHTenda AX1806 v1.0.0.1 contains a stack overflow via the iptv.stb.mode parameter in the function setIptvInfo.EPSS 0.6%CVE-2026-1951CRITICALNo checking of the length of the buffer with the directory name in AS320TEPSS 0.6%CVE-2024-33182HIGHTenda AC18 V15.03.3.10_EN was discovered to contain a stack-based buffer overflow vulnerability via the deviceId parameter at ip/goform/addWEPSS 0.6%CVE-2024-41459HIGHTenda FH1201 v1.2.0.14 was discovered to contain a stack-based buffer overflow vulnerability via the PPPOEPassword parameter at ip/goform/QuEPSS 0.6%