In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.cloud:spring-cloud-config-server to version 5.0.7 or higher.
org.springframework.cloud:spring-cloud-config-server is a library that provides an HTTP resource-based API for external configuration.
Affected versions of this package are vulnerable to Improper Certificate Validation in its property-based Git SSH handling, where setting ignoreLocalSshSettings=true with no hostKey configured disables strict host-key checking even though strictHostKeyChecking defaults to true. The server then accepts any SSH host key and never consults the configured knownHostsFile, so an attacker in a MitM position can impersonate the Git backend. This affects deployments that use a Git backend over SSH in property-based SSH mode without an explicit hostKey.
This vulnerability can be avoided by setting the spring.cloud.config.server.git.hostKey property together with spring.cloud.config.server.git.hostKeyAlgorithm for every Git repository that uses property-based SSH settings, pinning the server key explicitly.