CVE-2022-25845

Source
https://cve.org/CVERecord?id=CVE-2022-25845
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25845.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25845
Aliases
Related
  • SNYK-JAVA-COMALIBABA-2859222
Published
2022-06-10T20:15:08.117Z
Modified
2026-03-02T08:01:28.040843Z
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
[none]
Details

The package com.alibaba:fastjson before 1.2.83 are vulnerable to Deserialization of Untrusted Data by bypassing the default autoType shutdown restrictions, which is possible under certain conditions. Exploiting this vulnerability allows attacking remote servers. Workaround: If upgrading is not possible, you can enable safeMode.

References

Affected packages

Git / github.com/alibaba/fastjson

Affected ranges

Type
GIT
Repo
https://github.com/alibaba/fastjson
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Database specific

vanir_signatures
[
    {
        "id": "CVE-2022-25845-1b85b0de",
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/alibaba/fastjson/commit/26f13f84fdd522de10678e43f55fde918ab7b347",
        "target": {
            "file": "src/main/java/com/alibaba/fastjson/JSON.java"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61024697520050202701621572067117824757",
                "299278800782337073088942980025648933138"
            ]
        },
        "signature_type": "Line"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25845.json"