Apache Flink Upload Path Traversal

Published on 16 Jun 2021
Vulnerability

Apache Flink is a processing engine that distributes a framework for state calculations across unbounded and bounded data streams developed using Java and Scala. A REST handler introduced in Apache Flink 1.5.1 is vulnerable to unrestricted file upload via directory Travels. Directory traversal is a form of HTTP attack that allows attackers to gain access to password-protected directories. It also runs commands outside of the root directory of the webserver. The access to files is not limited by system operational access control. This vulnerability allows attackers to upload files to the directories in the local filesystem through crafted HTTP requests.

Mitigation / Precaution

We suggest you update Apache Flink to a version greater than 1.11.3 in order to fix this vulnerability.

Anandhu K A
Written by
Lead Engineer

With a profound understanding of product development, Anandhu plays a pivotal role in crafting cutting-edge solutions that cater to the evolving security needs of digital applications. His expertise, deeply rooted in both engineering and security, makes him an essential component of Beagle Security's mission

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo