Skip to content

CVE-2020-17519 Apache Flink directory traversal attack: reading remote files through the REST API

HighCVSS 7.5 EPSS 98.0% CISA KEV added 2024-05-23 · due 2024-06-13 Exploited in the wild Public exploit Scanner template PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)
CISA SSVC
Actively exploited · automatable: yes · technical impact: partial

Description

A change introduced in Apache Flink 1.11.0 (and released in 1.11.1 and 1.11.2 as well) allows attackers to read any file on the local filesystem of the JobManager through the REST interface of the JobManager process. Access is restricted to files accessible by the JobManager process. All users should upgrade to Flink 1.11.3 or 1.12.0 if their Flink instance(s) are exposed. The issue was fixed in commit b561010b0ee741543c3953306037f00d7a9f0801 from apache/flink:master.

CISA Known Exploited Vulnerability

Date added
2024-05-23
Due date (FCEB)
2024-06-13
Ransomware use
Unknown

Required action

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
apache flink >= 1.11.0, < 1.11.3; >= 1.11.0, <= 1.11.2 1.11.3 Fixed
org.apache.flink/flink-runtime_2.11(Maven) = 1.11.0; = 1.11.1; = 1.11.2; >= 1.11.0, < 1.11.3 1.11.3 Fixed
org.apache.flink/flink-runtime_2.12(Maven) = 1.11.0; = 1.11.1; = 1.11.2; >= 1.11.0, < 1.11.3 1.11.3 Fixed
Apache Flink = Apache Flink 1.11.0 to 1.11.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.apache.flink/flink-runtime_2.11(Maven) >= 1.11.0, < 1.11.3 1.11.3
org.apache.flink/flink-runtime_2.11(Maven) = 1.11.0 No fix listed
org.apache.flink/flink-runtime_2.11(Maven) = 1.11.1 No fix listed
org.apache.flink/flink-runtime_2.11(Maven) = 1.11.2 No fix listed
org.apache.flink/flink-runtime_2.12(Maven) >= 1.11.0, < 1.11.3 1.11.3
org.apache.flink/flink-runtime_2.12(Maven) = 1.11.0 No fix listed
org.apache.flink/flink-runtime_2.12(Maven) = 1.11.1 No fix listed
org.apache.flink/flink-runtime_2.12(Maven) = 1.11.2 No fix listed
apache flink >= 1.11.0, < 1.11.3 1.11.3
Apache Flink = Apache Flink 1.11.0 to 1.11.2 No fix listed
apache flink >= 1.11.0, <= 1.11.2 No fix listed

References