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
https://www.kb.cert.org/vuls/id/307983
https://codewhitesec.blogspot.com/2017/04/amf.html
http://www.securityweek.com/flaws-java-amf-libraries-allow-remote-code-execution
http://www.securityfocus.com/bid/97382
Related Vulnerabilities
CVE-2020-2233 Vulnerability in maven package org.jenkins-ci.plugins:pipeline-maven-parent
CVE-2012-5784 Vulnerability in maven package axis:axis
CVE-2020-13110 Vulnerability in npm package kerberos
CVE-2022-23540 Vulnerability in npm package jsonwebtoken
CVE-2018-1000864 Vulnerability in maven package org.jenkins-ci.main:jenkins-core