When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Cloud Config |
≥ 5.0.0, < 5.0.6.1→ 5.0.6.1 ≥ 4.3.0, < 4.3.6→ 4.3.6 ≥ 4.0.0, < 4.2.10→ 4.2.10 ≥ 3.1.0, < 3.1.16→ 3.1.16 ≥ 5.0.0, < 5.0.7→ 5.0.7 |
5.0.6.1 4.3.6 4.2.10 3.1.16 5.0.7 |
Original description The description as published by the source.
When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git.ignoreLocalSshSettings=true ) for a Git repository and no spring.cloud.config.server.git.hostKey is configured, it disables strict host key checking even if spring.cloud.config.server.git.strictHostKeyChecking is true , which is the default. The server then accepts any SSH server key and never consults the configured spring.cloud.config.server.git.knownHostsFile .
Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com