{"schemaVersion":3,"id":"CVE-2018-12027","aliases":["UBUNTU-CVE-2018-12027","GHSA-whfx-877c-5p28"],"status":"published","duplicateOf":null,"title":null,"description":"An Insecure Permissions vulnerability in SpawningKit in Phusion Passenger 5.3.x before 5.3.2 causes information disclosure in the following situation: given a Passenger-spawned application process that reports that it listens on a certain Unix domain socket, if any of the parent directories of said socket are writable by a normal user that is not the application's user, then that non-application user can swap that directory with something else, resulting in traffic being redirected to a non-application user's process through an alternative Unix domain socket.","dates":{"published":"2018-06-17T20:00:00.000Z","modified":"2024-08-05T08:24:03.683Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.01088,"percentile":0.6481,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01088},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01017,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01088,"percentile":0.6481}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01017,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01088,"percentile":0.6481}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"ubuntu","product":"passenger","name":"passenger","label":"passenger","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/passenger","purlType":"deb","versions":[{"text":"< 6.0.10-3build1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.10-3build1","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"passenger","name":"passenger","label":"passenger","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/passenger","purlType":"gem","versions":[{"text":"≥ 5.3.0, < 5.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.3.0, < 5.3.2","eol":null,"hubHref":null},{"vendor":"phusion","product":"passenger","name":"passenger","label":"passenger","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.3.0, < 5.3.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.3.0, < 5.3.2","eol":null,"hubHref":"/vendor/phusion/passenger"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://blog.phusion.nl/passenger-5-3-2","label":"blog.phusion.nl/passenger-5-3-2","hostname":"blog.phusion.nl","tags":["X Refsource MISC","Mitigation","Vendor Advisory","REPORT","WEB"]},{"url":"https://security.gentoo.org/glsa/201807-02","label":"security.gentoo.org/glsa/201807-02","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory","WEB"]},{"url":"https://ubuntu.com/security/CVE-2018-12027","label":"ubuntu.com/security/CVE-2018-12027","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/","label":"blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes/","hostname":"blog.phusion.nl","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12027","label":"www.cve.org/CVERecord?id=CVE-2018-12027","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12027","label":"nvd.nist.gov/vuln/detail/CVE-2018-12027","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/phusion/passenger","label":"github.com/phusion/passenger","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2018-12027.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2018-12027.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2018-06-17T20:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T08:24:03.683Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T00:35:52.688Z","stale":false,"partial":false}}