CVE-2020-17518
Java vulnerability analysis and mitigation

Overview

CVE-2020-17518 affects Apache Flink versions 1.5.1 to 1.11.2. The vulnerability was introduced in Flink 1.5.1 when a REST handler was implemented that allows writing uploaded files to arbitrary locations on the local file system through maliciously modified HTTP headers (NVD, OSS Security).

Technical details

The vulnerability is classified as a directory traversal attack (CWE-22) with a CVSS v3.1 base score of 7.5 (HIGH). The attack vector is network-accessible (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U) with no impact on confidentiality (C:N) but high impact on integrity (I:H) and no impact on availability (A:N) (NVD).

Impact

The vulnerability allows attackers to write files to any location accessible by the Flink process through the REST API. This could potentially lead to system compromise through arbitrary file writing on the affected system (OSS Security).

Exploitability

The vulnerability can be exploited remotely through the REST API by sending maliciously crafted HTTP headers. No special privileges or user interaction is required for exploitation (NVD).

Mitigation and workarounds

Users should upgrade to Flink version 1.11.3 or 1.12.0 if their Flink instances are exposed. The issue was fixed in commit a5264a6f41524afe8ceadf1d8ddc8c80f323ebc4 in the apache/flink master branch (OSS Security).

Community reactions

The vulnerability was discovered by 0rich1 of Ant Security FG Lab and was responsibly disclosed to the Apache Flink team. The Apache Software Foundation included this vulnerability in their 2020 Security Report (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-web-app
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49831MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management