CVE-2020-17518
Upload of file to arbitrary path in Apache Flink
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.flink » flink-runtime | >= 1.5.1, < 1.11.3 | 1.11.3 |
Blast radius
52% of the dependent artifacts (126) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 474 |
| 2 hops | 1,482 |
| 3 hops | 1,395 |
| 4 hops | 980 |
| 5 hops | 324 |
| 6 hops | 333 |
Most used dependents
- org.apache.flink » flink-streaming-java983 usages
- org.apache.flink » flink-table-api-java-bridge637 usages
- org.apache.camel.springboot » camel-core-starter564 usages
- org.apache.flink » flink-clients546 usages
- org.apache.flink » flink-test-utils540 usages
- org.apache.camel.springboot » camel-spring-boot-starter487 usages
- org.apache.flink » flink-table-planner471 usages
- org.apache.flink » flink-streaming-scala305 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.flink » flink-table-planner-blink198 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.flink » flink-table-runtime-blink123 usages
- org.apache.camel » camel-catalog92 usages
- org.apache.flink » flink-table-api-scala-bridge67 usages
- org.apache.flink » flink-runtime-web61 usages
Computed from the dependency graph of build 20261205.2030 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
