#VU49272 Path traversal in Flink


Published: 2021-01-06 | Updated: 2021-01-11

Vulnerability identifier: #VU49272

Vulnerability risk: Medium

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2020-17518

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Flink
Server applications / Database software

Vendor: Apache Foundation

Description

The vulnerability allows a remote user to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences while uploading files via a REST handler. A remote user can send a specially crafted HTTP request with a modified HTTP header and upload files to an arbitrary location on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Flink: 1.5.1 - 1.11.2


External links
http://lists.apache.org/thread.html/rb43cd476419a48be89c1339b527a18116f23eec5b6df2b2acbfef261%40%3Cdev.flink.apache.org%3E


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability