Skip to content

Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY]#112

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-com.google.code.gson-gson-vulnerability
Open

Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY]#112
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-com.google.code.gson-gson-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 16, 2023

This PR contains the following updates:

Package Change Age Confidence
com.google.code.gson:gson 2.8.72.8.9 age confidence

Deserialization of Untrusted Data in Gson

CVE-2022-25647 / GHSA-4jrv-ppp4-jm57

More information

Details

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.

Severity

  • CVSS Score: 7.7 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

google/gson (com.google.code.gson:gson)

v2.8.9

  • Make OSGi bundle's dependency on sun.misc optional (#​1993).
  • Deprecate Gson.excluder() exposing internal Excluder class (#​1986).
  • Prevent Java deserialization of internal classes (#​1991).
  • Improve number strategy implementation (#​1987).
  • Fix LongSerializationPolicy null handling being inconsistent with Gson (#​1990).
  • Support arbitrary Number implementation for Object and Number deserialization (#​1290).
  • Bump proguard-maven-plugin from 2.4.0 to 2.5.1 (#​1980).
  • Don't exclude static local classes (#​1969).
  • Fix RuntimeTypeAdapterFactory depending on internal Streams class (#​1959).
  • Improve Maven build (#​1964).
  • Make dependency on java.sql optional (#​1707).

v2.8.8

  • Fixed issue with recursive types (#​1390).
  • Better behaviour with Java 9+ and Unsafe if there is a security manager (#​1712).
  • EnumTypeAdapter now works better when ProGuard has obfuscated enum fields (#​1495).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/maven-com.google.code.gson-gson-vulnerability branch March 27, 2026 02:09
@renovate renovate Bot changed the title Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] - autoclosed Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/maven-com.google.code.gson-gson-vulnerability branch 2 times, most recently from 0e09c46 to ab87c5b Compare March 30, 2026 21:58
@renovate renovate Bot changed the title Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] - autoclosed Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/maven-com.google.code.gson-gson-vulnerability branch 2 times, most recently from ab87c5b to 718533f Compare April 27, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

0 participants