CVE-2020-17518 Apache Flink
| Affected software | Apache Flink |
|---|---|
| Severity | 7.5 High CVSS 3.1 2 scores |
| Fixed in | 1.11.3 |
| Weakness | Relative path traversal (CWE-23) |
| Published | 5 Jan 2021 |
| Updated | 17 Jun 2026 |
Description
Apache Flink 1.5.1 introduced a REST handler that allows you to write an uploaded file to an arbitrary location on the local file system, through a maliciously modified HTTP HEADER. The files can be written to any location accessible by Flink 1.5.1. 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 a5264a6f41524afe8ceadf1d8ddc8c80f323ebc4 from apache/flink:master.
CWE-22 · Path traversal
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. Honeypot sightings · 3 exploits · earliest 2023-11-25.
- CISA Vulnrichment no assessment published
- Indexed PoC 4 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-01-06.
- EPSS 49% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2020-17518 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Honeypot sighting | Shadowserver honeypots | Exploitation attempts seen on 563 days | 2023-11-25 to 2026-11-12 |
| Exploit reference | VulnCheck XDB cbd3d87ea7d5 | Exploit type: initial-access | 2021-01-06 |
| Exploit reference | VulnCheck XDB 03b52e0c11e3 | Exploit type: initial-access | 2021-01-10 |
| Exploit reference | VulnCheck XDB d75c5445c328 | Exploit type: initial-access | 2021-01-10 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | QmF0c3UK/CVE-2020-17518 | 7 | 2021-01-06 |
| GitHub PoC | [CVE-2020-17518] Apache Flink RESTful API Arbitrary File Upload via Directory Traversal | 3 | 2021-01-10 |
| GitHub PoC | 利用Apache Flink CVE-2020-17518 getshell | 1 | 2021-01-10 |
| Nuclei | Apache Flink 1.5.1 - Local File Inclusion |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Path traversal
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-23: Relative Path Traversal. |
How to mitigate CVE-2020-17518
Upgrade Apache Flink to 1.11.3 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.
CVSS
7.5 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
2 metrics
CVSS
7.5 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
NVD | Primary | published |
| CVSS 2.0 | 5.0 | none | AV:N/AC:L/Au:N/C:N/I:P/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.flink:flink-runtime |
1.5.1 | 1.11.3 |
unbounded |
Products and versions
2 products, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | flink | generic | ≥ 1.5.1 and < 1.11.3 |
| osv | org.apache.flink | flink-runtime | generic | ≥ 1.5.1 and < 1.11.3 |
References
Timeline
Timeline
| Published | 2021-01-05 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2023-11-25 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| VulnCheck KEV: latest evidence | 2026-11-12 | Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record. |