{"api_version":"1","generated_at":"2026-06-26T22:20:47+00:00","cve":"CVE-2018-6557","urls":{"html":"https://cve.report/CVE-2018-6557","api":"https://cve.report/api/cve/CVE-2018-6557.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-6557","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6557"},"summary":{"title":"CVE-2018-6557","description":"The MOTD update script in the base-files package in Ubuntu 18.04 LTS before 10.1ubuntu2.2, and Ubuntu 18.10 before 10.1ubuntu6 incorrectly handled temporary files. A local attacker could use this issue to cause a denial of service, or possibly escalate privileges if kernel symlink restrictions were disabled.","state":"PUBLIC","assigner":"security@ubuntu.com","published_at":"2018-08-21 16:29:00","updated_at":"2023-01-18 21:22:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"http://www.securityfocus.com/bid/105148","name":"105148","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://usn.ubuntu.com/3748-1/","name":"USN-3748-1","refsource":"UBUNTU","tags":["Vendor Advisory"],"title":"USN-3748-1: base-files vulnerability | Ubuntu security notices","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securitytracker.com/id/1041530","name":"1041530","refsource":"SECTRACK","tags":["Third Party Advisory","VDB Entry"],"title":"Debian Linux MOTD Update Script Unsafe Temporary File Usage Lets Local Users Deny Service and Gain Elevated Privileges - SecurityTracker","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-6557","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-6557","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Sander Bos","lang":""}],"nvd_cpes":[{"cve_year":"2018","cve_id":"6557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"base-files_project","cpe5":"base-files","cpe6":"10.1ubuntu2.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6557","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6557","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"6557","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.10","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@ubuntu.com","DATE_PUBLIC":"2018-08-21T00:00:00.000Z","ID":"CVE-2018-6557","STATE":"PUBLIC","TITLE":"Insecure temporary file use in base-files"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"base-files","version":{"version_data":[{"affected":"<","version_value":"10.1ubuntu2.2"}]}}]},"vendor_name":"Ubuntu"}]}},"credit":[{"lang":"eng","value":"Sander Bos"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The MOTD update script in the base-files package in Ubuntu 18.04 LTS before 10.1ubuntu2.2, and Ubuntu 18.10 before 10.1ubuntu6 incorrectly handled temporary files. A local attacker could use this issue to cause a denial of service, or possibly escalate privileges if kernel symlink restrictions were disabled."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Insecure Temporary File"}]}]},"references":{"reference_data":[{"name":"USN-3748-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3748-1/"},{"name":"1041530","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1041530"},{"name":"105148","refsource":"BID","url":"http://www.securityfocus.com/bid/105148"}]},"source":{"discovery":"EXTERNAL"}},"nvd":{"publishedDate":"2018-08-21 16:29:00","lastModifiedDate":"2023-01-18 21:22:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"},"exploitabilityScore":1,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:P/I:P/A:P","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":4.4},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":6.4,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:base-files_project:base-files:10.1ubuntu2.2:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"6557","Ordinal":"122685","Title":"CVE-2018-6557","CVE":"CVE-2018-6557","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"6557","Ordinal":"1","NoteData":"The MOTD update script in the base-files package in Ubuntu 18.04 LTS before 10.1ubuntu2.2, and Ubuntu 18.10 before 10.1ubuntu6 incorrectly handled temporary files. A local attacker could use this issue to cause a denial of service, or possibly escalate privileges if kernel symlink restrictions were disabled.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"6557","Ordinal":"2","NoteData":"2018-08-21","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"6557","Ordinal":"3","NoteData":"2018-08-28","Type":"Other","Title":"Modified"}]}}}