CVE-2020-17519
Apache Flink directory traversal attack: reading remote files through the REST API
Also known as BIT-flink-2020-17519, EDB-49398, GHSA-395w-qhqr-9fr6
Mitigation
- Upgrade org.apache.flink:flink-runtime_2.11 to 1.11.3 or later.
- Upgrade org.apache.flink:flink-runtime_2.12 to 1.11.3 or later.
Who should check
- Projects that depend on Maven package org.apache.flink:flink-runtime_2.11 (>= 1.11.0, < 1.11.3)
- Projects that depend on Maven package org.apache.flink:flink-runtime_2.12 (>= 1.11.0, < 1.11.3)
- Anyone running Apache Software Foundation Apache Flink Apache Flink 1.11.0 to 1.11.2
Vulnerability facts
- Affected
- org.apache.flink:flink-runtime_2.11 >= 1.11.0, < 1.11.3; org.apache.flink:flink-runtime_2.12 >= 1.11.0, < 1.11.3
- Fixed in
- 1.11.3
- Exploited in the wild
- Yes: in CISA KEV since 2024-05-23; federal due date 2024-06-13
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 98.00% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-552
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.flink:flink-runtime_2.11 | >= 1.11.0, < 1.11.3 | 1.11.3 | osv |
| Maven org.apache.flink:flink-runtime_2.12 | >= 1.11.0, < 1.11.3 | 1.11.3 | osv |
| Apache Software Foundation Apache Flink | Apache Flink 1.11.0 to 1.11.2 | — | cvelist |
Timeline
- 2021-01-05 Published
- 2024-05-23 Added to CISA KEV (exploited in the wild)
- 2024-06-13 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-17519. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-17519.md Affected: org.apache.flink:flink-runtime_2.11 >= 1.11.0, < 1.11.3; org.apache.flink:flink-runtime_2.12 >= 1.11.0, < 1.11.3 Fixed in: 1.11.3 Steps: 1. Search this machine and project for org.apache.flink:flink-runtime_2.11 (Maven), org.apache.flink:flink-runtime_2.12 (Maven), Apache Software Foundation Apache Flink: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r4e1b72bfa789ea5bc20b8afe56119200ed25bdab0eb80d664fa5bfe2%40%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r88b55f3ebf1f8f4e1cc61f030252aaef4b77060b56557a243abb92a1%40%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r88f427865fb6aa6e6378efe07632a1906b430365e15e3b9621aabe1d%40%3Cissues.flink.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2020-17519
Exploits and PoCs
Other
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cuser.flink.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/01/05/2
- https://lists.apache.org/thread.html/r28f17e564950d663e68cc6fe75756012dda62ac623766bb9bc5e7034%40%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r2fc60b30557e4a537c2a6293023049bd1c49fd92b518309aa85a0398%40%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r0a433be10676f4fe97ca423d08f914e0ead341c901216f292d2bbe83%40%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/ra8c96bf3ccb4e491f9ce87ba35f134b4449beb2a38d1ce28fd89001f%40%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r229167538863518738e02f4c1c5a8bb34c1d45dadcc97adf6676b0c1%40%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7%40%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d%40%3Cuser-zh.flink.apache.org%3E
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17519
- https://lists.apache.org/thread.html/ra8c96bf3ccb4e491f9ce87ba35f134b4449beb2a38d1ce28fd89001f@%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r88f427865fb6aa6e6378efe07632a1906b430365e15e3b9621aabe1d@%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r88b55f3ebf1f8f4e1cc61f030252aaef4b77060b56557a243abb92a1@%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cuser.flink.apache.org%3E
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r4e1b72bfa789ea5bc20b8afe56119200ed25bdab0eb80d664fa5bfe2@%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r2fc60b30557e4a537c2a6293023049bd1c49fd92b518309aa85a0398@%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r28f17e564950d663e68cc6fe75756012dda62ac623766bb9bc5e7034@%3Cissues.flink.apache.org%3E
- https://lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d@%3Cuser-zh.flink.apache.org%3E
- https://lists.apache.org/thread.html/r229167538863518738e02f4c1c5a8bb34c1d45dadcc97adf6676b0c1@%3Cdev.flink.apache.org%3E
- https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7@%3Cannounce.apache.org%3E
- https://lists.apache.org/thread.html/r0a433be10676f4fe97ca423d08f914e0ead341c901216f292d2bbe83@%3Cissues.flink.apache.org%3E
- https://github.com/apache/flink
FAQ
Is CVE-2020-17519 being exploited?
Yes. CISA lists CVE-2020-17519 in its Known Exploited Vulnerabilities catalog since 2024-05-23, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 98.00% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-17519?
Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2020-17519?
org.apache.flink:flink-runtime_2.11 >= 1.11.0, < 1.11.3; org.apache.flink:flink-runtime_2.12 >= 1.11.0, < 1.11.3.
Is there a fix for CVE-2020-17519?
Yes. Fixed in 1.11.3. Upgrade org.apache.flink:flink-runtime_2.11 to 1.11.3 or later. Upgrade org.apache.flink:flink-runtime_2.12 to 1.11.3 or later.
How do I check if I'm affected by CVE-2020-17519?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.