AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

Apache FlinkGHSA-7q5g-gph2-4rc6

Upload of file to arbitrary path in Apache Flink

Apache Flink

CVE-2020-17518 · Published Feb 9, 2022 · updated Dec 6, 2023

High7.5
Fix: upgrade to 1.11.3 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
org.apache.flink:flink-runtime
Maven
>= 1.5.1, < 1.11.31.11.3
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Severity from
GitHub (reviewed advisory)
Weakness
CWE-22, CWE-23
Also known as
BIT-flink-2020-17518, CVE-2020-17518