CVE-2020-5405
MEDIUM 6.5CVSS 3.1Directory 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.
- Published
- 5 Mar 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security@pivotal.io
- NVD status
- Modified
- Weakness
- CWE-22CWE-23
- Also known as
- GHSA-g86w-v5vg-9gxf
- Sources
- NVDJSONOSV GHSA-g86w-v5vg-9gxfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.7 | 2.1.7 |
| NVD | vmware | spring_cloud_configcpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.2 | 2.2.2 |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 2.1.0, < 2.1.7 | 2.1.7 |
| OSV | Maven | org.springframework.cloud:spring-cloud-config-server | >= 2.2.0, < 2.2.2 | 2.2.2 |
References
- https://pivotal.io/security/cve-2020-5405 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-5405 · ADVISORY
- https://github.com/spring-cloud/spring-cloud-config/spring-cloud-config-server · PACKAGE
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 5 Mar 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Jun 2020)