OESA-2022-1663

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-1663
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-1663.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-1663
Upstream
Published
2022-05-20T11:03:47Z
Modified
2025-08-12T05:13:06.732735Z
Summary
google-gson security update
Details

Gson is a Java library that can be used to convert a Java object into its JSON representation. It can also be used to convert a JSON string into an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. There are a few open-source projects that can convert Java objects to JSON. However, most of them require that you place Java annotations in your classes; something that you can not do if you do not have access to the source-code. Most also do not fully support the use of Java Generics. Gson considers both of these as very important design goals.

Security Fix(es):

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.(CVE-2022-25647)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / google-gson

Package

Name
google-gson
Purl
pkg:rpm/openEuler/google-gson&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.2-4.oe1

Ecosystem specific

{
    "src": [
        "google-gson-2.8.2-4.oe1.src.rpm"
    ],
    "noarch": [
        "google-gson-2.8.2-4.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP3 / google-gson

Package

Name
google-gson
Purl
pkg:rpm/openEuler/google-gson&distro=openEuler-20.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.2-4.oe1

Ecosystem specific

{
    "src": [
        "google-gson-2.8.2-4.oe1.src.rpm"
    ],
    "noarch": [
        "google-gson-2.8.2-4.oe1.noarch.rpm "
    ]
}

openEuler:22.03-LTS / google-gson

Package

Name
google-gson
Purl
pkg:rpm/openEuler/google-gson&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.2-4.oe2203

Ecosystem specific

{
    "src": [
        "google-gson-2.8.2-4.oe2203.src.rpm"
    ],
    "noarch": [
        "google-gson-2.8.2-4.oe2203.noarch.rpm "
    ]
}