{"id":"CVE-2018-6914","published":"2018-04-03T22:00:00Z","modified":"2024-08-05T06:17:17Z","title":"Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in Ruby before 2.2.10, 2.3.x before…","vendor":null,"product":null,"tier":"tail","description":{"text":"Directory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 might allow attackers to create arbitrary directories or files via a .. (dot dot) in the prefix argument.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.10156,"percentile":0.95768,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3729","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://usn.ubuntu.com/3626-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securitytracker.com/id/1042004","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/103686","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3730","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3731","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.ruby-lang.org/en/news/2018/03/28/unintentional-file-and-directory-creation-with-directory-traversal-cve-2018-6914/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.debian.org/security/2018/dsa-4259","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2028","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":19.15}]},"summary":{"text":"The flaw is a directory traversal vulnerability in the Dir.mktmpdir method of the tmpdir library in Ruby, affecting Ruby versions before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:51:50Z"},"euvd":{"id":"EUVD-2018-18658","exploited":false,"provenance":"source"}}