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-2021-3645 Vulnerability in npm package @viking04/merge
CVE-2021-44145 Vulnerability in maven package org.apache.nifi:nifi
CVE-2017-4974 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-server
CVE-2020-36732 Vulnerability in maven package org.webjars.bowergithub.brix:crypto-js
CVE-2021-31408 Vulnerability in maven package com.vaadin:flow-client