Actively exploited · Published Jan 5, 2021 · Assigned by apache
CVE-2020-17519Apache Flink directory traversal attack: reading remote files through the REST API
Critical 9.1 Exploited
In plain English
A critical-severity security flaw in Apache Flink from Apache Software Foundation. Attackers are actively exploiting it in the wild (listed by CISA on May 23, 2024). The chance it is exploited in the next 30 days is estimated at 98.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Federal agencies must remediate by Jun 13, 2024.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.flink:flink-runtime_2.11 | 1.11.3 | GHSA-395w-qhqr-9fr6 |
| Maven | org.apache.flink:flink-runtime_2.12 | 1.11.3 | GHSA-395w-qhqr-9fr6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Flink | Apache Flink 1.11.0 to 1.11.2 |
Weakness: CWE-552 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://lists.apache.org/thread.html/r6843202556a6d0bce9607ebc02e303f68fc88e9038235598bde3b50d%40%3Cdev.flink.apache.org%3E x_refsource_MISC
- [flink-user] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API mailing-list, x_refsource_MLIST
- [announce] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API mailing-list, x_refsource_MLIST
- [oss-security] 20210105 [CVE-2020-17519] Apache Flink directory traversal attack: reading remote files through the REST API mailing-list, x_refsource_MLIST
- [flink-issues] 20210106 [GitHub] [flink-web] zentol commented on a change in pull request #408: Add security page for Flink mailing-list, x_refsource_MLIST
- http://packetstormsecurity.com/files/160849/Apache-Flink-1.11.0-Arbitrary-File-Read-Directory-Traversal.html x_refsource_MISC
- [flink-issues] 20210110 [jira] [Updated] (FLINK-20916) Typo in test for CVE-2020-17519 mailing-list, x_refsource_MLIST
- [flink-dev] 20210110 [jira] [Created] (FLINK-20916) Typo in test for CVE-2020-17519 mailing-list, x_refsource_MLIST
- [flink-issues] 20210110 [jira] [Created] (FLINK-20916) Typo in test for CVE-2020-17519 mailing-list, x_refsource_MLIST
- [flink-issues] 20210111 [jira] [Assigned] (FLINK-20916) Typo in test for CVE-2020-17519 mailing-list, x_refsource_MLIST
- [flink-issues] 20210111 [jira] [Commented] (FLINK-20916) Typo in test for CVE-2020-17519 mailing-list, x_refsource_MLIST
- [flink-dev] 20210113 Re: [DISCUSS] Releasing Apache Flink 1.10.3 mailing-list, x_refsource_MLIST
- [flink-dev] 20210115 Re: [DISCUSS] Releasing Apache Flink 1.10.3 mailing-list, x_refsource_MLIST
- [announce] 20210125 Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- https://lists.apache.org/thread.html/r26fcdd4fe288323006253437ebc4dd6fdfadfb5e93465a0e4f68420d%40%3Cuser-zh.flink.apache.org%3E x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-17519 government-resource