
Cloud Vulnerability DB
A community-led vulnerabilities database
The package com.google.code.gson:gson before version 2.8.9 was found to be vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes. This vulnerability was discovered in February 2022 and publicly disclosed in October 2021. The vulnerability affects Google's Gson library, which is used to convert Java Objects into their JSON representations and vice versa (NVD, Debian Security).
The vulnerability is classified as CWE-502 (Deserialization of Untrusted Data) with a CVSS v3.1 base score of 7.5 (HIGH). The vulnerability occurs when the application deserializes untrusted data without sufficiently verifying that the resulting data will be valid, allowing an attacker to control the state or flow of execution through the writeReplace() method in internal classes (Snyk).
Successful exploitation of this vulnerability could lead to Denial of Service (DoS) attacks. In some cases, when combined with other exploits, it might potentially lead to the execution of arbitrary code. The vulnerability affects the availability of the system while maintaining no direct impact on confidentiality or integrity (NetApp Advisory, Debian Security).
The primary mitigation is to upgrade com.google.code.gson:gson to version 2.8.9 or higher. The fix was implemented through a patch that prevents Java deserialization of internal classes. For systems that cannot be immediately updated, it is recommended to implement strict input validation and deserialization controls (GitHub PR).
The vulnerability has received significant attention from the security community and has been addressed by multiple vendors. Major Linux distributions like Debian have released security updates to address this vulnerability. NetApp and other enterprise software providers have also issued advisories and patches for their affected products (Debian LTS, NetApp Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."