{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-18409","id":"CVE-2019-18409","title":"Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource","description":"The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.","descriptionLong":"The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into the ruby_parser-legacy-1.0.0/lib/ruby_parser/legacy/ruby_parser.rb file.","published":"2019-10-24T13:59:19.000Z","updated":"2026-10-20T10:50:50.777032281Z","reserved":"2019-10-24T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"ruby_parser-legacy","purl":"pkg:gem/ruby_parser-legacy","ranges":["<=1.0.0"],"fixed":[],"advisory":"GHSA-hhwc-8g49-j8jx"}],"cwes":["CWE-732"],"aliases":["GHSA-hhwc-8g49-j8jx"],"references":[{"url":"https://github.com/zenspider/ruby_parser-legacy/issues/1","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18409","tags":["advisory"]},{"url":"https://brakemanscanner.org/blog/2019/10/14/brakeman-4-dot-7-dot-1-released","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/brakeman/CVE-2019-18409.yml","tags":["web"]},{"url":"https://github.com/zenspider/ruby_parser-legacy","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00332,"epssPercentile":0.26838,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-18409","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18409","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-18409","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hhwc-8g49-j8jx","ok":true,"note":"GHSA-hhwc-8g49-j8jx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-18409","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}