CVE-2019-9212 SOFA-Hessian
| Affected software | SOFA-Hessian |
|---|---|
| Severity | 9.8 Critical CVSS 3.0 2 scores |
| Fixed in | 4.0.2, 3.3.6 |
| Weakness | Deserialization of untrusted data (CWE-502) |
| Published | 27 Feb 2019 |
| Updated | 17 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.
Exploitation status
- 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
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review automated Inferred
- Record disputed disputed
| 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.
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
CVSS
9.8 CRITICAL v3.0CVSS: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.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| 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| Package | Introduced | Fixed | Last 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| Source | Vendor | Product | Scheme | Affected 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
| URL | Tags |
|---|---|
| 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
Timeline
| Published | 2019-02-27 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |