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-2022-45923HIGHAn issue was discovered in OpenText Content Suite Platform 22.1 (16.2.19.1803). The Common Gateway Interface (CGI) program cs.exe allows an EPSS 1.9%CVE-2026-63516MEDIUMMicrosoft SharePoint Server Spoofing VulnerabilityEPSS 1.9%CVE-2026-27303CRITICALAdobe Connect | Deserialization of Untrusted Data (CWE-502)EPSS 1.9%CVE-2026-34659CRITICALAdobe Connect | Deserialization of Untrusted Data (CWE-502)EPSS 1.9%CVE-2021-23895CRITICALAuthorized deserialization of untrusted data in McAfee DBSecEPSS 1.9%CVE-2021-32935HIGHCognex In-Sight OPC Server - Deserialization of Untrusted DataEPSS 1.9%CVE-2021-1414MEDIUMCisco RV340, RV340W, RV345, and RV345P Dual WAN Gigabit VPN Routers Authenticated Remote Code Execution VulnerabilitiesEPSS 1.9%CVE-2026-46725CRITICALRemote Code Execution in extension "Content Element Selector" (ceselector)EPSS 1.9%CVE-2023-40195HIGHApache Airflow Spark Provider Deserialization Vulnerability RCEEPSS 1.9%CVE-2023-50220HIGHInductive Automation Ignition Base64Element Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 1.8%CVE-2024-8502CRITICALRemote Code Execution via Deserialization in modelscope/agentscopeEPSS 1.8%CVE-2026-58126CRITICALPACSgear PACS Scan 5.2.1 Unauthenticated RCE via .NET Remoting TCP ServiceEPSS 1.8%CVE-2021-24857—ToTop Link <= 1.7.1 - Unauthenticated PHP Object InjectionEPSS 1.8%CVE-2020-15172HIGHRemote Code Execution in Act moduleEPSS 1.8%CVE-2023-46817CRITICALAn issue was discovered in phpFox before 4.8.14. The url request parameter passed to the /core/redirect route is not properly sanitized befoEPSS 1.8%CVE-2022-2442HIGHMigration, Backup, Staging – WPvivid <= 0.9.74 - Authenticated (Admin+) PHAR DeserializationEPSS 1.8%CVE-2021-39207HIGHDeserialization of Untrusted Data in parlaiEPSS 1.8%CVE-2019-11286CRITICALJMX Credential Deserialization in GemFireEPSS 1.8%CVE-2023-36480CRITICALAerospike Java Client vulnerable to unsafe deserialization of server responsesEPSS 1.8%CVE-2022-40609HIGHIBM SDK, Java Technology Edition code executionEPSS 1.8%