ADVISORIES

GitHub Advisory Database

GHSA-6g88-99wj-8mgg

Command injection in Apache Flink

Details

A vulnerability in Apache Flink where, when running a process with an enabled JMXReporter, with a port configured via metrics.reporter.reporter_name>.port, 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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.flink:flink-core
All versions before 1.9.3 (fixed in 1.9.3)
Mavenorg.apache.flink:flink-core
From 1.10.0 before 1.10.1 (fixed in 1.10.1)

References