7.5
CWE
22 23
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2020-17518: Apache Flink directory traversal attack: remote file writing through the REST API

First published: Tue Jan 05 2021(Updated: )

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.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
redhat/flink<1.11.3
1.11.3
redhat/flink<1.12.0
1.12.0
Apache Flink>=1.5.1<1.11.3
maven/org.apache.flink:flink-runtime>=1.5.1<1.11.3
1.11.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2020-17518?

    CVE-2020-17518 is considered a high severity vulnerability due to its potential to allow unauthorized file access and modification.

  • How do I fix CVE-2020-17518?

    To fix CVE-2020-17518, upgrade Apache Flink to version 1.11.3 or later.

  • What versions of Apache Flink are affected by CVE-2020-17518?

    Apache Flink versions from 1.5.1 up to but not including 1.11.3 are affected by CVE-2020-17518.

  • What kind of attack is CVE-2020-17518 associated with?

    CVE-2020-17518 is associated with an attack that can exploit a REST handler to overwrite files on the server's file system.

  • Is CVE-2020-17518 related to file upload vulnerabilities?

    Yes, CVE-2020-17518 is a file upload vulnerability that allows malicious uploads to be written to arbitrary locations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203