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-2025-23006CRITICALPre-authentication deserialization of untrusted data vulnerability has been identified in the SMA1000 Appliance Management Console (AMC) andEPSS 23.4%KEVCVE-2024-5016HIGHWhatsUp Gold OnMessage Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 22.4%CVE-2016-9498—ManageEngine Applications Manager 12 and 13, allows unserialization of unsafe Java objectsEPSS 21.2%CVE-2025-47166HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 21.2%CVE-2025-47163HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 20.5%CVE-2020-10644—The affected product lacks proper validation of user-supplied data, which can result in deserialization of untrusted data on the Ignition 8 EPSS 20.2%CVE-2025-67779HIGHIt was found that the fix addressing CVE-2025-55184 in React Server Components was incomplete and does not prevent a denial of service attacEPSS 20.0%CVE-2025-49712HIGHMicrosoft SharePoint Remote Code Execution VulnerabilityEPSS 19.2%CVE-2025-54897HIGHMicrosoft SharePoint Remote Code Execution VulnerabilityEPSS 19.1%CVE-2025-56005CRITICALAn undocumented and unsafe feature in the PLY (Python Lex-Yacc) library 3.11 allows Remote Code Execution (RCE) via the `picklefile` parametEPSS 19.1%CVE-2025-34067CRITICALHikvision Integrated Security Management Platform Remote Command Execution via applyCT FastjsonEPSS 18.9%CVE-2025-20124CRITICALCisco Identity Services Engine Java Deserialization VulnerabilityEPSS 18.5%CVE-2022-38142CRITICAL Delta Electronics InfraSuite Device Master versions 00.00.01a and prior deserialize user-supplied data provided through the Device-Gateway EPSS 18.2%CVE-2023-1669HIGHSEOPress < 6.5.0.3 - Admin+ PHP Object InjectionEPSS 17.7%CVE-2024-10456CRITICALDelta Electronics InfraSuite Device Master Deserialization of Untrusted DataEPSS 17.6%CVE-2021-24040—Due to use of unsafe YAML deserialization logic, an attacker with the ability to modify local YAML configuration files could provide malicioEPSS 17.4%CVE-2022-28685HIGHThis vulnerability allows remote attackers to execute arbitrary code on affected installations of AVEVA Edge 2020 SP2 Patch 0(4201.2111.1802EPSS 17.2%CVE-2020-36179HIGHFasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to oadd.org.apacEPSS 17.1%CVE-2023-26359CRITICALAdobe ColdFusion Deserialization of Untrusted Data Arbitrary code executionEPSS 17.0%KEVCVE-2021-43297—Dubbo Hessian cause RCE when parse errorEPSS 17.0%