Apache · Apache Flink · CVE-2020-1960
**Name of the Vulnerable Software and Affected Versions**
Apache Flink versions 1.1.0 through 1.1.5
Apache Flink versions 1.2.0 through 1.2.1
Apache Flink versions 1.3.0 through 1.3.3
Apache Flink versions 1.4.0 through 1.4.2
Apache Flink versions 1.5.0 through 1.5.6
Apache Flink versions 1.6.0 through 1.6.4
Apache Flink versions 1.7.0 through 1.7.2
Apache Flink versions 1.8.0 through 1.8.3
Apache Flink versions 1.9.0 through 1.9.2
Apache Flink version 1.10.0
**Description**
A vulnerability exists in Apache Flink where an attacker with local access to the machine and JMX port can execute a man-in-the-middle attack using a specially crafted request to rebind the JMXRMI registry to one under the attacker's control. This compromises any connection established to the process via JMX, allowing extraction of credentials and any other transferred data. The attack is possible when running a process with an enabled JMXReporter, with a port configured via `metrics.reporter.reporter name>.port`.
**Recommendations**
For Apache Flink versions 1.1.0 through 1.1.5, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.2.0 through 1.2.1, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.3.0 through 1.3.3, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.4.0 through 1.4.2, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.5.0 through 1.5.6, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.6.0 through 1.6.4, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.7.0 through 1.7.2, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.8.0 through 1.8.3, consider disabling the JMXReporter until a patch is available.
For Apache Flink versions 1.9.0 through 1.9.2, consider disabling the JMXReporter until a patch is available.
For Apache Flink version 1.10.0, consider disabling the JMXReporter until a patch is available.