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-2017-3203—Pivotal/Spring Spring-flex's Action Message Format (AMF3) Java implementation is vulnerable to insecure deserializationEPSS 6.3%CVE-2020-11113HIGHFasterXML jackson-databind 2.x before 2.9.10.4 mishandles the interaction between serialization gadgets and typing, related to org.apache.opEPSS 6.3%CVE-2017-3199—GraniteDS, version 3.1.1.GA, Action Message Format (AMF3) Java implementation is vulnerable to insecure deserializationEPSS 6.1%CVE-2024-4699MEDIUMD-Link DAR-8000-10 importhtml.php deserializationEPSS 6.1%CVE-2017-2608HIGHJenkins before versions 2.44, 2.32.2 is vulnerable to a remote code execution vulnerability involving the deserialization of various types iEPSS 6.0%CVE-2024-12029CRITICALRemote Code Execution via Model Deserialization in invoke-ai/invokeaiEPSS 6.0%CVE-2021-39140MEDIUMXStream can cause a Denial of ServiceEPSS 5.9%CVE-2023-38182HIGHMicrosoft Exchange Server Remote Code Execution VulnerabilityEPSS 5.9%CVE-2026-47864MEDIUMUnsafe Java deserialization in SerializingHttpMessageConverter — remote code executionEPSS 5.9%CVE-2020-11995—Apache Dubbo default deserialization protocol Hessian2 cause CREEPSS 5.7%CVE-2019-14892HIGHA flaw was discovered in jackson-databind in versions before 2.9.10, 2.8.11.5 and 2.6.7.3, where it would permit polymorphic deserializationEPSS 5.6%CVE-2020-10917CRITICALThis vulnerability allows remote attackers to execute arbitrary code on affected installations of NEC ESMPRO Manager 6.42. Authentication isEPSS 5.6%CVE-2024-12742HIGHDeserialization of Untrusted Data Vulnerability in NI G Web Development SoftwareEPSS 5.5%CVE-2020-6967—In Rockwell Automation all versions of FactoryTalk Diagnostics software, a subsystem of the FactoryTalk Services Platform, FactoryTalk DiagnEPSS 5.5%CVE-2019-15271HIGHCisco Small Business RV016, RV042, RV042G, and RV082 Routers Arbitrary Command Execution VulnerabilityEPSS 5.5%KEVCVE-2019-18283—A vulnerability has been identified in SPPA-T3000 Application Server (All versions < Service Pack R8.2 SP2). The AdminService is available wEPSS 5.4%CVE-2017-3201—Flamingo amf-serializer by Exadel, version 2.2.0, Action Message Format (AMF3) Java implementation is vulnerable to insecure deserializationEPSS 5.4%CVE-2025-54920HIGHApache Spark: Spark History Server Code Execution VulnerabilityEPSS 5.3%CVE-2019-10202HIGHA series of deserialization vulnerabilities have been discovered in Codehaus 1.9.x implemented in EAP 7. This CVE fixes CVE-2017-17485, CVE-EPSS 5.2%CVE-2020-15188CRITICALUnauthenticated Remote Code Execution in SOY CMSEPSS 5.1%