VDB
CVE-2022-25647
CVE-2022-25647
PUBLISHED
CVSS 7.7 HIGH
Deserialization of Untrusted Data
Reported by snyk · Published May 1, 2022
gson is fixed in 2.8.9 (Maven Central)
The package com.google.code.gson:gson before 2.8.9 are vulnerable to Deserialization of Untrusted Data via the writeReplace() method in internal classes, which may lead to DoS attacks.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.google.code.gson:gson | Maven Central | 2.8.9 |
| trino | Wolfi | 439-r0 |
| trino | Chainguard | 439-r0 |
| openjdk13 | Alpine | 13.0.12_p4-r0 |
| openjdk11 | Alpine | 11.0.17_p8-r0, 11.0.16_p8-r0 |
| openjdk15 | Alpine | 15.0.8_p4-r0 |
| openjdk17 | Alpine | 17.0.4_p8-r0 |
| gson | 2.8.9 | |
| com.google.code.gson:gson | n/a | 2.8.9 |
Risk scores
CVSS 3.1
7.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | com.google.code.gson:gson | unspecified |
| wolfi | trino | 0 |
| chainguard | trino | 0 |
| alpine | openjdk13 | 0 |
| alpine | openjdk11 | 0, 0 |
| Maven | com.google.code.gson:gson | 0 |
| n/a | com.google.code.gson:gson | * |
| alpine | openjdk15 | 0 |
| alpine | openjdk17 | 0 |
Timeline
- May 1, 2022 CVE Published
- May 2, 2022 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (25 in total, the first dated here)
- Jul 1, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (22 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-25647
vulnetix vdb fixes CVE-2022-25647
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-25647/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [debian-lts-announce] 20220513 [SECURITY] [DLA 3001-1] libgoogle-gson-java security update mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_CONFIRM
- [debian-lts-announce] 20220907 [SECURITY] [DLA 3100-1] libgoogle-gson-java security update mailing-listx_refsource_MLIST
- DSA-5227 vendor-advisoryx_refsource_DEBIAN
- https://nvd.nist.gov/vuln/detail/CVE-2022-25647 advisory
- https://github.com/advisories/GHSA-4jrv-ppp4-jm57 advisory
- https://security.netapp.com/advisory/ntap-20220901-0009 advisory
- Multiples vulnérabilités dans les produits VMware advisory