CVE-2018-1196

Source
https://cve.org/CVERecord?id=CVE-2018-1196
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1196.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-1196
Aliases
Published
2018-03-19T18:29:00.387Z
Modified
2026-04-10T04:04:40.801492Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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 "runuser" 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 "runuser" 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.

References

Affected packages

Git / github.com/spring-projects/spring-boot

Affected ranges

Type
GIT
Repo
https://github.com/spring-projects/spring-boot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.5.9"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.0-milestone7"
        }
    ]
}

Affected versions

v1.*
v1.0.0.RC3
v1.0.0.RC4
v1.5.9.RELEASE
v2.*
v2.0.0.M1
v2.0.0.M2
v2.0.0.M3
v2.0.0.M4
v2.0.0.M5
v2.0.0.M6
v2.0.0.M7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1196.json"