SUSE-SU-2022:3706-1

Source
https://www.suse.com/support/update/announcement/2022/suse-su-20223706-1/
Import Source
https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:3706-1.json
JSON Data
https://api.osv.dev/v1/vulns/SUSE-SU-2022:3706-1
Related
Published
2022-10-24T13:19:55Z
Modified
2022-10-24T13:19:55Z
Summary
Security update for google-gson
Details

This update for google-gson fixes the following issues:

Fixed security issue:

  • CVE-2022-25647: Deserialization of Untrusted Data (bsc#1199064)

Other non security fixes:

  • Build with Java >= 9 in order to produce a modular jar by compiling the module-info.java sources with all other classes built with release 8 and still compatible with Java 8
  • Upgrade to version 2.8.9 (jsc#SLE-24261)
    • Make OSGi bundle's dependency on sun.misc optional.
    • Deprecate Gson.excluder() exposing internal Excluder class.
    • Prevent Java deserialization of internal classes.
    • Improve number strategy implementation.
    • Fix LongSerializationPolicy null handling being inconsistent with Gson.
    • Support arbitrary Number implementation for Object and Number deserialization.
    • Bump proguard-maven-plugin from 2.4.0 to 2.5.1.
    • Don't exclude static local classes.
    • Fix RuntimeTypeAdapterFactory depending on internal Streams class.
    • Improve Maven build.
    • Make dependency on java.sql optional.
    • Fixed issue with recursive types.
    • Better behavior with Java 9+ and Unsafe if there is a security manager.
    • EnumTypeAdapter now works better when ProGuard has obfuscated enum fields.
    • make import of sun.misc optional since not all versions of jdk export it
References

Affected packages

SUSE:Manager Server Module 4.1 / google-gson

Package

Name
google-gson
Purl
purl:rpm/suse/google-gson&distro=SUSE%20Manager%20Server%20Module%204.1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.9-150200.3.7.1

Ecosystem specific

{
    "binaries": [
        {
            "google-gson": "2.8.9-150200.3.7.1"
        }
    ]
}