Apache Flink directory traversal attack: reading remote files through the REST API
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-552.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Flink | Apache Flink 1.11.0 to 1.11.2 | — | No fix listed | CNA |
| — | org.apache.flink:flink-runtime_2.11 (Maven) | 1.11.0 to before 1.11.3 | 1.11.3 | Patch available | GHSA-395w-qhqr-9fr6 |
| — | org.apache.flink:flink-runtime_2.12 (Maven) | 1.11.0 to before 1.11.3 | 1.11.3 | Patch available | GHSA-395w-qhqr-9fr6 |
- Apache Flink VendorApache Affected Apache Flink 1.11.0 to 1.11.2 Fixed in — No fix listed CNA
- org.apache.flink:flink-runtime_2.11 (Maven) Vendor— Affected 1.11.0 to before 1.11.3 Fixed in 1.11.3 Patch available GHSA-395w-qhqr-9fr6
- org.apache.flink:flink-runtime_2.12 (Maven) Vendor— Affected 1.11.0 to before 1.11.3 Fixed in 1.11.3 Patch available GHSA-395w-qhqr-9fr6
Remediation
- Fix · GHSA-395w-qhqr-9fr6 org.apache.flink:flink-runtime_2.11 (Maven) Fixed in 1.11.3 Advisory →
- Fix · GHSA-395w-qhqr-9fr6 org.apache.flink:flink-runtime_2.12 (Maven) Fixed in 1.11.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
Timeline
- 2024-05-23 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2020-17519
- 2026-10-03 Alias added: GHSA-395w-qhqr-9fr6
References
Advisory 7
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E
- [announce] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API
- [oss-security] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API
- [flink-dev] 20210110 [jira] [Created] (FLINK-20916) Typo in test for CVE-2020-17519
- [flink-issues] 20210111 [jira] [Assigned] (FLINK-20916) Typo in test for CVE-2020-17519
- [flink-issues] 20210111 [jira] [Commented] (FLINK-20916) Typo in test for CVE-2020-17519
- https://nvd.nist.gov/vuln/detail/CVE-2020-17519
Other 25
- [flink-user] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API
- [flink-issues] 20210106 [GitHub] [flink-web] zentol commented on a change in pull request #408: Add security page for Flink
- [flink-issues] 20210110 [jira] [Updated] (FLINK-20916) Typo in test for CVE-2020-17519
- [flink-issues] 20210110 [jira] [Created] (FLINK-20916) Typo in test for CVE-2020-17519
- [flink-dev] 20210113 Re: [DISCUSS] Releasing Apache Flink 1.10.3
- [flink-dev] 20210115 Re: [DISCUSS] Releasing Apache Flink 1.10.3
- [announce] 20210125 Apache Software Foundation Security Report: 2020
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020
- 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
More Apache Flink vulnerabilities
- TI-2020-13267 Apache Flink directory traversal attack: remote file writing through the REST API CVSS 3.1HIGH 7.5
- TI-2026-27347 Apache Flink: Remote code execution via SQL injection in code generation CVSS 3.1HIGH 8.1
- TI-2020-01884 Injection in Apache Flink CVSS 3.1MEDIUM 4.7
Sources
- CVE-2020-17519 · CVE Program
- CVE-2020-17519 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-395w-qhqr-9fr6 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-17519 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences