jackson-databind polymorphic deserialization RCE (default typing)
With default typing enabled, a JSON document names the Java class to instantiate, so a crafted type id reaches a class whose deserialization performs a JNDI lookup and loads remote code.
- Product
- FasterXML jackson-databind
- Vendor
- FasterXML
- Affected
- < 2.6.7.1, 2.7.0 to < 2.7.9.1, 2.8.0 to < 2.8.9 (and 2.9.0.pr1/pr2)
- Fixed in
- 2.6.7.1, 2.7.9.1, 2.8.9, 2.9.0
- Weakness
- CWE-502
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 6 Feb 2018
Classified as
References
Related CVEs
- CVE-2023-0669high 7.22023
GoAnywhere MFT license-servlet deserialization RCE
A license-response servlet decodes and decrypts a request parameter, then deserializes the result with ObjectInputStream, so an attacker-supplied object graph executes code during readObject.
- CVE-2022-1471critical 9.82022
SnakeYAML unsafe deserialization
The default YAML parser instantiates whatever Java type a document names, so parsing untrusted YAML can construct dangerous objects.
- CVE-2017-9805high 8.12017
Apache Struts REST plugin XStream deserialization RCE (S2-052)
The REST plugin deserializes an XML request body with a default XStream instance that has no type allowlist, so a crafted gadget-chain document instantiates arbitrary classes and runs commands on the server.
- CVE-2015-4852critical 9.82015
WebLogic T3 Java deserialization (Commons Collections gadget)
A raw serialized Java object sent to the T3 listener is deserialized without any class filtering, so a Commons Collections transformer chain drives reflective method calls into Runtime.exec: unauthenticated remote code execution.