WaratekVRT Sign in

CVE-2020-5405 Spring Cloud Config

Affected softwareSpring Cloud Config
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in2.1.7, 2.2.2
WeaknessRelative path traversal (CWE-23)
Published5 Mar 2020
Updated17 Jun 2026

Description

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.

CWE-22 · Path traversal

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 69% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
Nuclei Spring Cloud Config - Local File Inclusion

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-23: Relative Path Traversal.

How to mitigate CVE-2020-5405

Upgrade Spring Cloud Config to a release that fixes it: 2.1.7 or 2.2.2. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.cloud:spring-cloud-config-server 2.1.0 2.1.7 unbounded
org.springframework.cloud:spring-cloud-config-server 2.2.0 2.2.2 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.cloud spring-cloud-config-server generic ≥ 2.1.0 and < 2.1.7 · ≥ 2.2.0 and < 2.2.2
nvd vmware spring cloud config generic ≥ 2.1.0 and < 2.1.7 · ≥ 2.2.0 and < 2.2.2

References

URLTags
https://github.com/spring-cloud/spring-cloud-config/spring-cloud-config-server PACKAGE
https://pivotal.io/security/cve-2020-5405 WEB

Timeline

Published2020-03-05By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.