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-2023-47130HIGHUnsafe deserialization of user data in yiisoft/yiiEPSS 3.1%CVE-2024-52577CRITICALApache Ignite: Possible RCE when deserializing incoming messages by the server nodeEPSS 3.1%CVE-2024-28991CRITICALSolarWinds Access Rights Manager (ARM) Deserialization of Untrusted Data Remote Code ExecutionEPSS 3.1%CVE-2024-6525MEDIUMD-Link DAR-7000 decodmail.php deserializationEPSS 3.1%CVE-2024-11393HIGHHugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution VulnerabilityEPSS 3.1%CVE-2018-10911MEDIUMA flaw was found in the way dic_unserialize function of glusterfs does not handle negative key length values. An attacker could use this flaEPSS 3.1%CVE-2020-10672HIGHFasterXML jackson-databind 2.x before 2.9.10.4 mishandles the interaction between serialization gadgets and typing, related to org.apache.arEPSS 3.1%CVE-2024-52433CRITICALWordPress My Geo Posts Free plugin <= 1.2 - PHP Object Injection vulnerabilityEPSS 3.0%CVE-2026-50522CRITICALMicrosoft SharePoint Remote Code Execution VulnerabilityEPSS 3.0%KEVCVE-2021-27475HIGHRockwell Automation Connected Components Workbench Deserialization of Untrusted DataEPSS 3.0%CVE-2026-3296CRITICALEverest Forms <= 3.4.3 - Unauthenticated PHP Object Injection via Form Entry MetadataEPSS 3.0%CVE-2025-42944CRITICALInsecure Deserialization vulnerability in SAP Netweaver (RMI-P4)EPSS 2.9%CVE-2026-27971CRITICALQwik affected by unauthenticated RCE via server$ DeserializationEPSS 2.9%CVE-2023-30534MEDIUMInsecure Deserialization in CactiEPSS 2.9%CVE-2023-21744HIGHMicrosoft SharePoint Server Remote Code Execution VulnerabilityEPSS 2.8%CVE-2021-32824CRITICALRegular expression Denial of Service in MooToolsEPSS 2.8%CVE-2017-15089—It was found that the Hotrod client in Infinispan before 9.2.0.CR1 would unsafely read deserialized data on information from the cache. An aEPSS 2.8%CVE-2021-41110CRITICALCWL Viewer: deserialization of untrusted data can lead to complete takeover by an attackerEPSS 2.8%CVE-2026-69694HIGHWindows IP Address Management (IPAM) Service Elevation of Privilege VulnerabilityEPSS 2.8%CVE-2025-47994HIGHMicrosoft Office Elevation of Privilege VulnerabilityEPSS 2.8%