Directory traversal attack in Spring Cloud Config

Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead a directory traversal attack.

Vulnerability ID: GHSA-g86w-v5vg-9gxf
Aliases: CVE-2020-5405
Published: 2020-06-05 16:11:36
CWE: CWE-22
CWE-23
Severity rating: MODERATE
CVSS: type: CVSS_V3
score: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Affected packages:
package: ecosystem: Maven
name: org.springframework.cloud:spring-cloud-config-server
package: ecosystem: Maven
name: org.springframework.cloud:spring-cloud-config-server