Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY]#102
Open
renovate[bot] wants to merge 1 commit intodevelopfrom
Open
Update dependency com.google.code.gson:gson to v2.8.9 [SECURITY]#102renovate[bot] wants to merge 1 commit intodevelopfrom
renovate[bot] wants to merge 1 commit intodevelopfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.3.1→2.8.9GitHub Vulnerability Alerts
CVE-2022-25647
The package
com.google.code.gson:gsonbefore 2.8.9 is vulnerable to Deserialization of Untrusted Data via thewriteReplace()method in internal classes, which may lead to denial of service attacks.Release Notes
google/gson (com.google.code.gson:gson)
v2.8.9sun.miscoptional (#1993).Gson.excluder()exposing internalExcluderclass (#1986).RuntimeTypeAdapterFactorydepending on internalStreamsclass (#1959).java.sqloptional (#1707).v2.8.8Unsafeif there is a security manager (#1712).EnumTypeAdapternow works better when ProGuard has obfuscated enum fields (#1495).v2.8.7ISO8601UtilsTestfailing on systems with UTC+X.JsonStreamParser.IllegalStateExceptioninJsonTreeWriter(#1592).JsonArray.isEmpty()(#1640).v2.8.62019-10-04 GitHub Diff
JsonParser.parseStringandJsonParser.parseReaderand deprecated instance methodJsonParser.parsev2.8.52018-05-21 GitHub Diff
utils.VersionUtilsclass tointernal.JavaVersion. This is a potential backward incompatible change from 2.8.4v2.8.42018-05-01 GitHub Diff
LOWER_CASE_WITH_DOTSthat mapps JSON namesomeFieldNametosome.field.namesun.misc.Unsafev2.8.32018-04-27 GitHub Diff
GsonBuilder.newBuilder()that clones the current builderv2.8.22017-09-19 GitHub Diff
JsonElement.deepCopy()v2.8.12017-05-30 GitHub Diff
JsonObject.keySet()@JsonAdapterannotation can now useJsonSerializerandJsonDeserializeras well.v2.72016-06-14 GitHub Diff
v2.6.22016-02-26 GitHub Diff
v2.6.12016-02-11 GitHub Diff
2.6.1 release is identical to 2.6, but it targets Java 1.6.
v2.62016-02-26 GitHub Diff
v2.52015-11-24 GitHub Diff
java.util.Currency,AtomicLong,AtomicLongArray,AtomicInteger,AtomicIntegerArray,AtomicBoolean. This change is backward-incompatible because the earlier version of Gson used the default serialization which wasn't intuitive. We hope that these classes are not used enough to actually cause problems in the field.v2.42015-10-04
IOExceptionfromTypeAdapter.toJson(). This is a binary-compatible change, but maycause compiler errors where
IOExceptionsare being caught but no longer thrown. The correct fixfor this problem is to remove the unnecessary
catchclause.Gson.newJsonWritermethod returns configuredJsonWriterinstances.@SerializedNamenow works with [AutoValue’s][autovalue] abstract property methods.@SerializedNamepermits alternate names when deserializing.JsonWriter#jsonValuewrites raw JSON values.JsonArrayinstances.FieldNamingPolicynow works properly when running on a device with a Turkish locale.[autovalue]: https://github.com/google/auto/tree/main/value
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.