{
    "CVE_data_meta": {
        "ASSIGNER": "security@ubuntu.com",
        "DATE_PUBLIC": "2018-10-25T00:00:00.000Z",
        "ID": "CVE-2018-15686",
        "STATE": "PUBLIC",
        "TITLE": "systemd: reexec state injection: fgets() on overlong lines leads to line splitting"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "systemd",
                                "version": {
                                    "version_data": [
                                        {
                                            "affected": "<=",
                                            "version_value": "239"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "systemd"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Jann Horn"
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A vulnerability in unit_deserialize of systemd allows an attacker to supply arbitrary state across systemd re-execution via NotifyAccess. This can be used to improperly influence systemd execution and possibly lead to root privilege escalation. Affected releases are systemd versions up to and including 239."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "fgets() can be confused by overly-long input strings. The first read will return a partial string and subsequent reads will begin as if it were a new line."
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "GLSA-201810-10",
                "refsource": "GENTOO",
                "url": "https://security.gentoo.org/glsa/201810-10"
            },
            {
                "name": "[debian-lts-announce] 20181119 [SECURITY] [DLA 1580-1] systemd security update",
                "refsource": "MLIST",
                "url": "https://lists.debian.org/debian-lts-announce/2018/11/msg00017.html"
            },
            {
                "name": "105747",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/105747"
            },
            {
                "name": "45714",
                "refsource": "EXPLOIT-DB",
                "url": "https://www.exploit-db.com/exploits/45714/"
            },
            {
                "name": "USN-3816-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3816-1/"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:2091",
                "url": "https://access.redhat.com/errata/RHSA-2019:2091"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3222",
                "url": "https://access.redhat.com/errata/RHSA-2019:3222"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2020:0593",
                "url": "https://access.redhat.com/errata/RHSA-2020:0593"
            },
            {
                "refsource": "MLIST",
                "name": "[bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image",
                "url": "https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0@%3Cissues.bookkeeper.apache.org%3E"
            },
            {
                "url": "https://www.oracle.com//security-alerts/cpujul2021.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com//security-alerts/cpujul2021.html"
            },
            {
                "name": "https://github.com/systemd/systemd/pull/10519",
                "refsource": "MISC",
                "url": "https://github.com/systemd/systemd/pull/10519"
            }
        ]
    },
    "source": {
        "defect": [
            "https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1796402"
        ],
        "discovery": "EXTERNAL"
    }
}