GitHub Advisoryadvisory · Maven

GHSA-7q5g-gph2-4rc6 Upload of file to arbitrary path in Apache Flink

HIGH Published 2022-02-09 Modified 2021-04-07 Official page ↗
Aliases
CVE-2020-17518
Ecosystem
Maven
Packages
org.apache.flink:flink-runtime
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-22, CWE-23
Reviewed
2021-04-07

Affected packages

• Maven org.apache.flink:flink-runtime: >= 1.5.1, < 1.11.3 → fixed in 1.11.3

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-17518 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,… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-23 Relative Path Traversal weakness

References