WaratekVRT Sign in

CVE-2019-9212 SOFA-Hessian

Affected softwareSOFA-Hessian
Severity9.8 Critical CVSS 3.0 2 scores
Fixed in4.0.2, 3.3.6
WeaknessDeserialization of untrusted data (CWE-502)
Published27 Feb 2019
Updated17 Jun 2026

Disputed. The record is tagged disputed: someone contests that the vulnerability exists. We still show our assessment, because the dispute is about whether the vulnerability exists, not whether Waratek can block it.

Description

SOFA-Hessian through 4.0.2 allows remote attackers to execute arbitrary commands via a crafted serialized Hessian object because blacklisting of com.caucho.naming.QName and com.sun.org.apache.xpath.internal.objects.XString is mishandled, related to Resin Gadget. NOTE: The vendor doesn’t consider this issue a vulnerability because the blacklist is being misused. SOFA Hessian supports custom blacklist and a disclaimer was posted encouraging users to update the blacklist or to use the whitelist feature for their specific needs since the blacklist is not being actively updated

CWE-184

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 7 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 2.8% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR deserialization security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-502: Deserialization of Untrusted Data.

How to mitigate CVE-2019-9212

Upgrade SOFA-Hessian to a release that fixes it: 4.0.2 or 3.3.6. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.0 9.8 CRITICAL CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
com.alipay.sofa:hessian 4.0.0 4.0.2 unbounded
com.alipay.sofa:hessian 0 3.3.6 unbounded

Products and versions

2 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd antfin sofa-hessian generic ≤ 4.0.2
osv com.alipay.sofa hessian generic < 3.3.6 · ≥ 4.0.0 and < 4.0.2

References

URLTags
https://github.com/alipay/sofa-hessian/issues/34 WEB
https://github.com/advisories/GHSA-pfwp-8pq4-g7pv ADVISORY
https://github.com/alipay/sofa-hessian PACKAGE

Timeline

Published2019-02-27By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.