Description
The Java implementation of GraniteDS, version 3.1.1.GA, AMF3 deserializers derives class instances from java.io.Externalizable rather than the AMF3 specification's recommendation of flash.utils.IExternalizable. A remote attacker with the ability to spoof or control an RMI server connection may be able to send serialized Java objects that execute arbitrary code when deserialized.
Remediation
References
http://www.securityfocus.com/bid/97382
http://www.securityweek.com/flaws-java-amf-libraries-allow-remote-code-execution
https://codewhitesec.blogspot.com/2017/04/amf.html
https://www.kb.cert.org/vuls/id/307983
Related Vulnerabilities
CVE-2019-18799 Vulnerability in maven package org.webjars.npm:node-sass
CVE-2021-21119 Vulnerability in npm package electron
CVE-2018-6464 Vulnerability in npm package simditor
CVE-2019-10744 Vulnerability in maven package org.fujion.webjars:lodash
CVE-2019-14900 Vulnerability in maven package org.hibernate:hibernate-core