CVE-2020-5410: Directory traversal attack in Spring Cloud Config
CVE-2020-5410 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2020-06-05
Spring Cloud Config contains a directory traversal vulnerability in the spring-cloud-config-server module. An unauthenticated attacker can send specially crafted URLs to access and serve arbitrary configuration files from the server's file system.
Yes. org.springframework.cloud:spring-cloud-config-server (Maven): upgrade to 2.1.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2020-5410 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2020-5410?
Check whether you run org.springframework.cloud:spring-cloud-config-server (Maven), VMware Tanzu Spring Cloud Config Server or VMware Tanzu Spring Cloud Configuration (Config) Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.springframework.cloud:spring-cloud-config-server (Maven): upgrade to 2.1.9 or later
# set org.springframework.cloud:spring-cloud-config-server to 2.1.9 in your pom.xml or build.gradle
Affected products
VMware Tanzu Spring Cloud Config 2.1.x prior to 2.1.9, 2.2.x prior to 2.2.3
Identifiers
CVE-2020-5410
GHSA-32xf-jwmv-9hf3
Timeline
2020-06-02: disclosed: NVD Published Date
2022-03-25: kev added: Added to CISA Known Exploited Vulnerabilities Catalog