Weaknesses of type CWE-502

2,661 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-2024-31211MEDIUMRemote Code Execution in `WP_HTML_Token`EPSS 2.8%CVE-2023-21538HIGH.NET Denial of Service VulnerabilityEPSS 2.8%CVE-2024-3300CRITICALPre-authentication Unsafe .NET object deserialization vulnerability affecting DELMIA Apriso Release 2019 through Release 2024EPSS 2.8%CVE-2023-28115CRITICALSnappy vulnerable to PHAR deserialization, allowing remote code executionEPSS 2.8%CVE-2019-18316—A vulnerability has been identified in SPPA-T3000 Application Server (All versions < Service Pack R8.2 SP2). An attacker with network accessEPSS 2.7%CVE-2020-15086CRITICALPotential Remote Code Execution in TYPO3 with mediace extensionEPSS 2.7%CVE-2022-40955HIGHDeserialization attack in Apache InLong prior to version 1.3.0 allows RCE via JDBCEPSS 2.7%CVE-2026-45659HIGHMicrosoft SharePoint Remote Code Execution VulnerabilityEPSS 2.7%KEVCVE-2022-39198CRITICALApache Dubbo Hession Deserialization Vulnerability Gadgets BypassEPSS 2.6%CVE-2020-4043HIGHPhar unserialization vulnerability in phpMusselEPSS 2.6%CVE-2022-37021—Apache Geode deserialization of untrusted data flaw when using JMX over RMI on Java 8.EPSS 2.6%CVE-2026-23864HIGHMultiple denial of service vulnerabilities exist in React Server Components, affecting the following packages: react-server-dom-parcel, reacEPSS 2.6%CVE-2025-24919HIGHDell ControlVault3/ControlVault3 Plus deserialization of untrusted input vulnerabilityEPSS 2.6%CVE-2023-33134HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 2.6%CVE-2024-11394HIGHHugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 2.6%CVE-2026-56700CRITICALGrav - Multiple Remote Code Execution Vulnerabilities via Unsafe Unserialize and Command InjectionEPSS 2.5%CVE-2026-32192HIGHAzure Monitor Agent Elevation of Privilege VulnerabilityEPSS 2.5%CVE-2026-55009HIGHMicrosoft Exchange Server Elevation of Privilege VulnerabilityEPSS 2.5%CVE-2026-32184HIGHMicrosoft High Performance Compute (HPC) Pack Elevation of Privilege VulnerabilityEPSS 2.5%CVE-2025-30382HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 2.5%