Weaknesses of type CWE-591

77 results

Armazenamento de dados sensíveis em memória sem proteção contra acesso

A aplicação mantém dados sensíveis (senhas, tokens, chaves criptográficas) em memória sem impedir que processos adversários ou ataques de hardware os acessem. Diferente de criptografia, aqui falta o próprio mecanismo de proteção da região de memória — seja bloqueio contra troca em disco (swap), isolamento de privilégios ou limpeza após uso.

Example

Uma aplicação Java carrega uma chave privada RSA em uma String e a mantém na heap durante toda a sessão do usuário. Um atacante com acesso local, ou mediante vazamento de heap (dump de memória), consegue recuperar a chave íntegra. Pior: a String nunca é sobrescrita — mesmo após "liberada", o valor persiste na memória até coleta de lixo.

How to mitigate

Use estruturas que zerem memória após uso (char[] em Java em vez de String, SecureString em .NET, ou mlock/madvise em C). Minimize o tempo de permanência: carregue segredos sob demanda, não em startup. Em ambientes críticos, integre Memory Tagging Extension (MTE) ou execute em enclaves (SGX, TrustZone). Audite e configure o sistema operacional para desabilitar dumps de memória e swap criptografado.

CVE-2023-35345MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.7%CVE-2023-35344MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-20686HIGHWin32k Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2024-21446HIGHNTFS Elevation of Privilege VulnerabilityEPSS 0.7%CVE-2023-35310MEDIUMWindows DNS Server Remote Code Execution VulnerabilityEPSS 0.7%CVE-2024-43633MEDIUMWindows Hyper-V Denial of Service VulnerabilityEPSS 0.6%CVE-2023-21739HIGHWindows Bluetooth Driver Elevation of Privilege VulnerabilityEPSS 0.6%CVE-2023-36403HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2025-26648HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2024-43563HIGHWindows Ancillary Function Driver for WinSock Elevation of Privilege VulnerabilityEPSS 0.5%CVE-2023-24946HIGHWindows Backup Service Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-49097HIGHWindows PrintWorkflowUserSvc Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-49095HIGHWindows PrintWorkflowUserSvc Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-38137HIGHWindows Resource Manager PSM Service Extension Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2023-21771HIGHWindows Local Session Manager (LSM) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2023-23407HIGHWindows Point-to-Point Protocol over Ethernet (PPPoE) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2023-28224HIGHWindows Point-to-Point Protocol over Ethernet (PPPoE) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2023-23414HIGHWindows Point-to-Point Protocol over Ethernet (PPPoE) Remote Code Execution VulnerabilityEPSS 0.4%CVE-2024-26236HIGHWindows Update Stack Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2023-33163HIGHWindows Network Load Balancing Remote Code Execution VulnerabilityEPSS 0.4%