Description
Spring Cloud Config, versions 2.1.x prior to 2.1.2, versions 2.0.x prior to 2.0.4, and versions 1.4.x prior to 1.4.6, 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Cloud Config | 2.0 – < v2.0.4.RELEASE, 1.4 – < v1.4.6.RELEASE, 2.1 – < v2.1.2.RELEASE | v2.0.4.RELEASE |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Spring Cloud Config Server Directory Traversal
auxiliary/scanner/http/springcloud_traversal
Exploit-DB 1
- Spring Cloud Config 2.1.x - Path Traversal (Metasploit) EDB-46772 · webapps · Apr 30, 2019
GitHub 2 repositories
-
mpgn/CVE-2019-3799 ★ 31 · Apr 17, 2019
CVE-2019-3799 - Spring Cloud Config Server: Directory Traversal < 2.1.2, 2.0.4, 1.4.6
-
Corgizz/SpringCloud ★ 0 · Apr 7, 2022
Spring Cloud Config CVE-2019-3799|CVE_2020_5410 漏洞检测
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Spring Cloud Config Server - Local File Inclusion http/cves/2019/CVE-2019-3799.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-config-server | < 1.4.6 | 1.4.6 | GHSA-4x49-w62v-76q7 |
| Maven | org.springframework.cloud:spring-cloud-config-server | >= 2.0.0, < 2.0.4 | 2.0.4 | GHSA-4x49-w62v-76q7 |
| Maven | org.springframework.cloud:spring-cloud-config-server | >= 2.1.0, < 2.1.2 | 2.1.2 | GHSA-4x49-w62v-76q7 |