CVE-2024-23636

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-23636
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-23636.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-23636
Aliases
Published
2024-01-23T17:22:52.857Z
Modified
2025-12-05T03:13:24.048212Z
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
SOFARPC Remote Command Execution(RCE) Vulnerbility
Details

SOFARPC is a Java RPC framework. SOFARPC defaults to using the SOFA Hessian protocol to deserialize received data, while the SOFA Hessian protocol uses a blacklist mechanism to restrict deserialization of potentially dangerous classes for security protection. But, prior to version 5.12.0, there is a gadget chain that can bypass the SOFA Hessian blacklist protection mechanism, and this gadget chain only relies on JDK and does not rely on any third-party components. Version 5.12.0 fixed this issue by adding a blacklist. SOFARPC also provides a way to add additional blacklists. Users can add a class like -Drpc_serialize_blacklist_override=org.apache.xpath. to avoid this issue.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23636.json",
    "cwe_ids": [
        "CWE-502"
    ]
}
References

Affected packages

Git / github.com/sofastack/sofa-rpc

Affected ranges

Type
GIT
Repo
https://github.com/sofastack/sofa-rpc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

5.*

5.10.1

v5.*

v5.10.0
v5.11.0
v5.11.1
v5.3.0
v5.3.1
v5.4.0
v5.4.1
v5.4.2
v5.4.3
v5.5.0
v5.5.1
v5.6.0
v5.6.1
v5.6.2
v5.6.3
v5.6.4
v5.6.5
v5.7.0
v5.7.1
v5.7.10
v5.7.2
v5.7.3
v5.7.4
v5.7.5
v5.7.6
v5.7.7
v5.7.8
v5.7.9
v5.8.0
v5.8.1
v5.8.2
v5.8.3
v5.8.4
v5.8.5
v5.8.6
v5.8.7
v5.9.0
v5.9.1
v5.9.2

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "source": "https://github.com/sofastack/sofa-rpc/commit/f37465bf30bb89322e4911dd827495b88b4bdcac",
        "id": "CVE-2024-23636-1c4213f7",
        "signature_version": "v1",
        "target": {
            "file": "core/api/src/main/java/com/alipay/sofa/rpc/common/Version.java"
        },
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "55862677667193933266201971555976405872",
                "219415160655969076271546548824151953000",
                "211469876026100016003346019718431866258"
            ]
        }
    }
]