The package `com.google.code.gson:gson` before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the `writeReplace()` method in internal classes, which may lead to denial of service attacks.
Update com.google.code.gson:gson to 2.8.9 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanDeserialization of Untrusted Data in Gson affects com.google.code.gson:gson (maven). Severity is high. The package `com.google.code.gson:gson` before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the `writeReplace()` method in internal classes, which may lead to denial of service attacks.
AI coding agents often install or upgrade packages automatically in maven. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| com.google.code.gson:gsonmaven | <2.8.9 | 2.8.9 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
The package `com.google.code.gson:gson` before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the `writeReplace()` method in internal classes, which may lead to denial of service attacks.
Update com.google.code.gson:gson to 2.8.9 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanDeserialization of Untrusted Data in Gson affects com.google.code.gson:gson (maven). Severity is high. The package `com.google.code.gson:gson` before 2.8.9 is vulnerable to Deserialization of Untrusted Data via the `writeReplace()` method in internal classes, which may lead to denial of service attacks.
AI coding agents often install or upgrade packages automatically in maven. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| com.google.code.gson:gsonmaven | <2.8.9 | 2.8.9 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardReported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard