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-2024-21405HIGHMicrosoft Message Queuing (MSMQ) Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2025-27475HIGHWindows Update Stack Elevation of Privilege VulnerabilityEPSS 0.4%CVE-2024-26242HIGHWindows Telephony Server Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-27732HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-24899HIGHWindows Graphics Component Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-48819HIGHWindows Universal Plug and Play (UPnP) Device Host Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2025-26665HIGHWindows upnphost.dll Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2024-21355HIGHMicrosoft Message Queuing (MSMQ) Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-35360HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-28236HIGHWindows Kernel Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-35362HIGHWindows Clip Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-32010HIGHWindows Bus Filter Driver Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-35340HIGHWindows CNG Key Isolation Service Elevation of Privilege VulnerabilityEPSS 0.3%CVE-2023-23393HIGHWindows BrokerInfrastructure Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2023-28273HIGHWindows Clip Service Elevation of Privilege VulnerabilityEPSS 0.2%CVE-2025-11711MEDIUMSome non-writable Object properties could be modifiedEPSS 0.2%CVE-2024-34525MEDIUMFileCodeBox 2.0 stores a OneDrive password and AWS key in a cleartext env file.EPSS 0.2%