CVE-2019-3799: Path Traversal in Spring Cloud Config

Summary

23/05/2019
Yes i
Moderate
6.5

CVE-2019-3799: Path Traversal in Spring Cloud Config. Affects org.springframework.cloud:spring-cloud-config-server across 3 version ranges.

< 1.4.6 >= 2.0.0, < 2.0.4 >= 2.1.0, < 2.1.2

Fixed in 1.4.6, 2.0.4 or 2.1.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Spring Cloud Config is a module that allows applications to externalize their configuration in a centralized and versioned manner. It provides a server that serves configuration files to client applications. The vulnerability in question affects versions 1.4.x, 2.0.x, and 2.1.x of the Spring Cloud Config server. These versions allow malicious users to exploit a directory traversal vulnerability, potentially leading to unauthorized access to arbitrary configuration files.

Vulnerability Detail

The vulnerability arises from a lack of proper input validation in the spring-cloud-config-server module. By sending a specially crafted URL, an attacker can manipulate the server to serve arbitrary configuration files. This can result in unauthorized access to sensitive information or the execution of arbitrary code. The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.5.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.4.6 1.4.6
  • >= 2.0.0, < 2.0.4 2.0.4
  • >= 2.1.0, < 2.1.2 2.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed versions to mitigate the risk.

Conclusion

The Path Traversal vulnerability in Spring Cloud Config allows attackers to access arbitrary configuration files, potentially leading to unauthorized access to sensitive information or the execution of arbitrary code. It is recommended to upgrade to the fixed versions (1.4.6, 2.0.4, or 2.1.2) to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.springframework.cloud:spring-cloud-config-server →

Share this vulnerability

FAQ

Spring Cloud Config is a module that allows applications to externalize their configuration in a centralized and versioned manner. It provides a server that serves configuration files to client applications.

Versions 1.4.x, 2.0.x, and 2.1.x of Spring Cloud Config are affected.

This vulnerability allows attackers to access arbitrary configuration files, potentially leading to unauthorized access to sensitive information or the execution of arbitrary code.

The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.5.

There are no known workarounds for this vulnerability. It is crucial to upgrade to the fixed versions to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.cloud:spring-cloud-config-server.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.4.6 1.4.6
  • >= 2.0.0, < 2.0.4 2.0.4
  • >= 2.1.0, < 2.1.2 2.1.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback