Advisory

UBUNTU-CVE-2018-6914

Also known as: CVE-2018-6914

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2018-04-03 00:00 UTC
Modified
2026-04-22 12:02 UTC

Affected packages and fixes

ruby1.9.1

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.9.3.484-2ubuntu1.11 (ecosystem)

Fixed versions

1.9.3.484-2ubuntu1.11

Fix

  • Fixed version 1.9.3.484-2ubuntu1.11
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby2.0

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.0.0.484-1ubuntu2.9 (ecosystem)

Fixed versions

2.0.0.484-1ubuntu2.9

Fix

  • Fixed version 2.0.0.484-1ubuntu2.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby2.3

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.3.1-2~16.04.9 (ecosystem)

Fixed versions

2.3.1-2~16.04.9

Fix

  • Fixed version 2.3.1-2~16.04.9
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences