Skip to main content

CVE-2022-39198 — Vulnerability in com.alibaba:hessian-lite

CRITICAL

Hessian Lite for Apache Dubbo deserialization vulnerability

Published October 19, 2022Updated November 8, 2023Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (3.67%). Schedule for your next planned update.

Does your project use an affected com.alibaba:hessian-lite version?

Paste your pom.xml to check it for CVE-2022-39198 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

A deserialization vulnerability existed in dubbo hessian-lite 3.2.12 and its earlier versions, which could lead to malicious code execution. This issue affects Apache Dubbo 2.7.x version 2.7.17 and prior versions; Apache Dubbo 3.0.x version 3.0.11 and prior versions; Apache Dubbo 3.1.x version 3.1.0 and prior versions.

Advisory Timeline

  • First published October 19, 2022 (1499 days ago).
  • Last revised November 8, 2023 — 385 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.alibaba:hessian-lite to 3.2.13 or later
<!-- Update pom.xml dependency version to 3.2.13 for com.alibaba:hessian-lite -->
Maven
Update org.apache.dubbo:dubbo to 2.7.18 or later
<!-- Update pom.xml dependency version to 2.7.18 for org.apache.dubbo:dubbo -->
Maven
Update org.apache.dubbo:dubbo to 3.1.1 or later
<!-- Update pom.xml dependency version to 3.1.1 for org.apache.dubbo:dubbo -->
Maven
Update org.apache.dubbo:dubbo to 3.0.12 or later
<!-- Update pom.xml dependency version to 3.0.12 for org.apache.dubbo:dubbo -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (2).

PackageFixed In
com.alibaba:hessian-lite Maven · Affected: 2.6.2, 3.2.10, 3.2.11, 3.2.12 (+8 more)3.2.13
org.apache.dubbo:dubbo Maven · Affected: 2.7.0, 2.7.1, 2.7.10, 2.7.11 (+15 more)2.7.18
org.apache.dubbo:dubbo Maven · Affected: 3.1.03.1.1
org.apache.dubbo:dubbo Maven · Affected: 3.0.0, 3.0.0.preview, 3.0.1, 3.0.10 (+10 more)3.0.12

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2022-39198?
Hessian Lite for Apache Dubbo deserialization vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2022-39198?
CVE-2022-39198 affects com.alibaba:hessian-lite and org.apache.dubbo:dubbo. It has a 3.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-39198 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
3.67%
EPSS percentile: 90.4

This places it in the top 10% of EPSS-scored vulnerabilities — 90.4% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.

Also Known As

GHSA-5qwq-g2hx-r6f7

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml