GHSA-v2rg-8cwr-75g8

Suggest an improvement
Source
https://github.com/advisories/GHSA-v2rg-8cwr-75g8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-v2rg-8cwr-75g8/GHSA-v2rg-8cwr-75g8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v2rg-8cwr-75g8
Aliases
Published
2022-03-18T17:56:08Z
Modified
2023-11-08T04:05:15.584119Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Deserializer tampering in Apache Dubbo
Details

Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is working on. But for Dubbo versions before 2.7.8 or 2.6.9, an attacker can choose which serialization id the Provider will use by tampering with the byte preamble flags, aka, not following the server's instruction. This means that if a weak deserializer such as the Kryo and FST are somehow in code scope (e.g. if Kryo is somehow a part of a dependency), a remote unauthenticated attacker can tell the Provider to use the weak deserializer, and then proceed to exploit it.

Database specific
{
    "nvd_published_at": "2021-06-01T14:15:00Z",
    "github_reviewed_at": "2021-06-02T19:44:59Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Maven / org.apache.dubbo:dubbo

Package

Name
org.apache.dubbo:dubbo
View open source insights on deps.dev
Purl
pkg:maven/org.apache.dubbo/dubbo

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.7.8

Affected versions

2.*

2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.7.4.1
2.7.5
2.7.6
2.7.7

Maven / com.alibaba:dubbo

Package

Name
com.alibaba:dubbo
View open source insights on deps.dev
Purl
pkg:maven/com.alibaba/dubbo

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.5.0
Fixed
2.6.9

Affected versions

2.*

2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.5.10
2.6.0
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8