Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true. The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.
When the top-level repository keeps the default (ignoreLocalSshSettings=false) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.
Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.
Spring Cloud Config:
| Fix version | Availability |
|---|---|
| 5.0.7 | OSS |
| 5.0.6.1 | Enterprise Support Only |
| 4.3.6 | Enterprise Support Only |
| 4.2.10 | Enterprise Support Only |
| 3.1.16 | Enterprise Support Only |
No further mitigation steps are necessary.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy