Weaknesses of type CWE-502

2,646 results

Desserialização de dados não confiáveis

A aplicação reconstrói objetos a partir de dados serializados (JSON, XML, binário) recebidos de fontes externas sem validar adequadamente se o conteúdo é legítimo. Um atacante pode injetar código malicioso ou objetos especialmente crafted que são executados durante a desserialização, comprometendo toda a aplicação.

Example

Um servidor Java desserializa objetos recebidos em requisições HTTP usando ObjectInputStream, sem verificar a classe ou origem dos dados. Um atacante envia um objeto serializado contendo uma cadeia de gadgets (RCE via biblioteca como Apache Commons Collections) que é executada assim que o objeto é reconstruído em memória.

How to mitigate

Valide e liste explicitamente as classes que podem ser desserializadas (whitelist). Para JSON/XML, use parsers que não executem código (como JSON simples, evite eval). Considere alternativas seguras como Protocol Buffers ou MessagePack, e mantenha bibliotecas críticas atualizadas.

CVE-2023-40044CRITICALWS_FTP Server Ad Hoc Transfer Module .NET Deserialization VulnerabilityEPSS 90.1%KEVCVE-2025-26399CRITICALSolarWinds Web Help Desk Deserialization of Untrusted Data Privilege Escalation VulnerabilityEPSS 89.5%KEVCVE-2018-15381CRITICALCisco Unity Express Arbitrary Command Execution VulnerabilityEPSS 87.3%CVE-2020-10915CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of VEEAM One Agent 9.5.4.4587. AuthenticationEPSS 86.6%CVE-2023-36035HIGHMicrosoft Exchange Server Spoofing VulnerabilityEPSS 86.6%CVE-2026-63077CRITICALIn JetBrains TeamCity before 2026.1.3, 2025.11.7 unauthenticated remote code execution was possible via the agent polling protocolEPSS 86.5%KEVCVE-2026-50522CRITICALMicrosoft SharePoint Remote Code Execution VulnerabilityEPSS 85.4%KEVCVE-2022-38111HIGHSolarWinds Platform Deserialization of Untrusted Data VulnerabilityEPSS 84.8%CVE-2024-28986CRITICALSolarWinds Web Help Desk Java Deserialization Remote Code Execution VulnerabilityEPSS 84.6%KEVCVE-2022-36974CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of Ivanti Avalanche 6.3.2.3490. Although authEPSS 84.5%CVE-2024-30044HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 84.0%CVE-2019-9874CRITICALDeserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 and Sitecore XP 7.5 toEPSS 83.7%KEVCVE-2021-23758HIGHDeserialization of Untrusted DataEPSS 83.6%KEVCVE-2025-40551CRITICALSolarWinds Web Help Desk Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 83.6%KEVCVE-2021-42392—The org.h2.util.JdbcUtils.getConnection method of the H2 database takes as parameters the class name of the driver and URL of the database. EPSS 83.2%CVE-2022-36958HIGHSolarWinds Platform Deserialization of Untrusted DataEPSS 82.7%CVE-2023-43208CRITICALNextGen Healthcare Mirth Connect before version 4.4.1 is vulnerable to unauthenticated remote code execution. Note that this vulnerability iEPSS 82.7%KEVCVE-2023-20888HIGHAria Operations for Networks contains an authenticated deserialization vulnerability. A malicious actor with network access to VMware Aria OEPSS 82.3%CVE-2021-21351MEDIUMXStream is vulnerable to an Arbitrary Code Execution attackEPSS 82.1%CVE-2023-21707HIGHMicrosoft Exchange Server Remote Code Execution VulnerabilityEPSS 82.0%