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.

PackageEcosystemFixed in
com.google.code.gson:gsonMaven Central2.8.9
trinoWolfi439-r0
trinoChainguard439-r0
openjdk13Alpine13.0.12_p4-r0
openjdk11Alpine11.0.17_p8-r0, 11.0.16_p8-r0
openjdk15Alpine15.0.8_p4-r0
openjdk17Alpine17.0.4_p8-r0
gsongoogle2.8.9
com.google.code.gson:gsonn/a2.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

VendorProductVersions
n/acom.google.code.gson:gsonunspecified
wolfitrino0
chainguardtrino0
alpineopenjdk130
alpineopenjdk110, 0
Mavencom.google.code.gson:gson0
n/acom.google.code.gson:gson*
alpineopenjdk150
alpineopenjdk170

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›