Apache Flink 1.5.1 is vulnerable to local file inclusion because of a REST handler that allows file uploads to an arbitrary location on the local file system through a maliciously modified HTTP HEADER.
View the template here CVE-2020-17518.yaml
References:
https://github.com/vulhub/vulhub/tree/master/flink/CVE-2020-17518