Fallos del tipo CWE-121

3834 resultados

Estouro de buffer na pilha

Ocorre quando código escreve dados além dos limites de um buffer alocado na pilha (stack), sobrescrevendo informações críticas como endereços de retorno ou variáveis locais. Um atacante pode explorar isso para executar código arbitrário ou causar crash da aplicação.

Ejemplo

Uma função copia uma string de entrada diretamente em um array de 64 bytes sem validar o tamanho: `char buffer[64]; strcpy(buffer, user_input);` Se o usuário enviar uma string com 200 bytes, ela sobrescreverá o endereço de retorno e pode redirecionar a execução para código malicioso.

Cómo mitigar

Use funções seguras com limite de tamanho (`strncpy`, `snprintf`), valide e sanitize entradas antes de copiar, implemente proteções em tempo de execução (stack canaries, ASLR, DEP) e considere usar linguagens com verificação de limites automática quando possível.

CVE-2024-31163HIGHASUS Download Master - Buffer OverflowEPSS 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-2024-37633HIGHTOTOLINK A3700R V9.1.2u.6165_20211012 was discovered to contain a stack overflow via ssid in the function setWiFiGuestCfgEPSS 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-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-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-20520MEDIUMCisco Small Business RV042, RV042G, RV320, and RV325 Remote Command Execution VulnerabilitiesEPSS 0.6%CVE-2024-20518MEDIUMCisco Small Business RV042, RV042G, RV320, and RV325 Remote Command Execution VulnerabilitiesEPSS 0.6%CVE-2024-20519MEDIUMCisco 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-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-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-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-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%