GHSA-4jrv-ppp4-jm57

Suggest an improvement
Source
https://github.com/advisories/GHSA-4jrv-ppp4-jm57
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4jrv-ppp4-jm57/GHSA-4jrv-ppp4-jm57.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4jrv-ppp4-jm57
Aliases
Related
Published
2022-05-03T00:00:44Z
Modified
2024-09-11T06:13:43.374296Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H CVSS Calculator
Summary
Deserialization of Untrusted Data in Gson
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.

Database specific
{
    "nvd_published_at": "2022-05-01T16:15:00Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-05-20T20:31:08Z"
}
References

Affected packages

Maven / com.google.code.gson:gson

Package

Name
com.google.code.gson:gson
View open source insights on deps.dev
Purl
pkg:maven/com.google.code.gson/gson

Affected ranges

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

Affected versions

1.*

1.1
1.4
1.5
1.6
1.7
1.7.1
1.7.2

2.*

2.0
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.3
2.3.1
2.4
2.5
2.6
2.6.1
2.6.2
2.7
2.8.0
2.8.1
2.8.2
2.8.3
2.8.4
2.8.5
2.8.6
2.8.7
2.8.8