ADVISORIES

GitHub Advisory Database

GHSA-3qwq-q9vm-5j42

Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access

Details

Vulnerability in Spring Cloud when substituting the profile parameter from a request made to the Spring Cloud Config Server configured to the native file system as a backend, because it was possible to access files outside of the configured search directories.This issue affects Spring Cloud: from 3.1.X before 3.1.13, from 4.1.X before 4.1.9, from 4.2.X before 4.2.3, from 4.3.X before 4.3.2, from 5.0.X before 5.0.2.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.cloud:spring-cloud-config-server
From 4.3.0 before 4.3.2 (fixed in 4.3.2)
Mavenorg.springframework.cloud:spring-cloud-config-server
From 5.0.0-M1 before 5.0.2 (fixed in 5.0.2)
Mavenorg.springframework.cloud:spring-cloud-config-server
From 4.2.0 up to and including 4.2.4
Mavenorg.springframework.cloud:spring-cloud-config-server
From 4.0.0 up to and including 4.1.7
Mavenorg.springframework.cloud:spring-cloud-config-server
All versions up to and including 3.1.10

References