Skip to content
Fencer Vulns
medium 6.5

CVE-2020-5405 json

Directory Traversal with spring-cloud-config-server

published 2020-03-05 6 y ago modified 2026-06-17 4 mo ago also GHSA-g86w-v5vg-9gxf , EUVD-2020-0490

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
68.5%
EPSS 68.5% chance of exploitation in 30 days, percentile 99.3%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • maven org.springframework.cloud:spring-cloud-config-server 2.1.7, 2.2.2
  • Spring by VMware Spring Cloud Config 2.1.7, 2.2.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-5405 updated cvss 6.5

spring-cloud-config-server: Directory Traversal with spring-cloud-config-server

  • Red Hat Fuse 7 spring-cloud-config-server spring-cloud-config-server
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

68.54% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Spring Cloud Config - Local File Inclusion nuclei detection template

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
maven org.springframework.cloud:spring-cloud-config-server
>=2.1.0, <2.1.7
>=2.2.0, <2.2.2
2.1.7
2.2.2

Affected products

  • Spring by VMware Spring Cloud Config

Classification

Weakness
  • CWE-23 Relative Path Traversal
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.