CVE-2018-1196
Moderate severity vulnerability that affects org.springframework.boot:spring-boot
Description
Spring Boot supports an embedded launch script that can be used to easily run the application as a systemd or init.d linux service. The script included with Spring Boot 1.5.9 and earlier and 2.0.0.M1 through 2.0.0.M7 is susceptible to a symlink attack which allows the "run_user" to overwrite and take ownership of any file on the same system. In order to instigate the attack, the application must be installed as a service and the "run_user" requires shell access to the server. Spring Boot application that are not installed as a service, or are not using the embedded launch script are not susceptible.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.boot » spring-boot | >= 1.5.0, < 1.5.10 | 1.5.10 |
Blast radius
35% of the dependent artifacts (1,330) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,718 |
| 2 hops | 13,535 |
| 3 hops | 15,922 |
| 4 hops | 8,892 |
| 5 hops | 4,501 |
| 6 hops | 684 |
Most used dependents
- org.springframework.boot » spring-boot-starter-test20,993 usages
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-autoconfigure15,709 usages
- org.springframework.boot » spring-boot-starter12,901 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-aop4,662 usages
- org.springframework.boot » spring-boot-starter-data-jpa4,154 usages
- org.springframework.boot » spring-boot-starter-security3,606 usages
- org.springframework.boot » spring-boot-starter-data-redis3,154 usages
- org.springframework.boot » spring-boot-starter-jdbc2,516 usages
- org.springframework.boot » spring-boot-test1,728 usages
- org.springframework.boot » spring-boot-devtools1,705 usages
- com.baomidou » mybatis-plus-boot-starter1,472 usages
- org.springframework.boot » spring-boot-actuator1,435 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
