Description
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.
Analysis and contextual insights are available on OpenCVE Cloud.
Remediation
No vendor fix or workaround currently provided.
Additional remediation guidance may be available on OpenCVE Cloud.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1358-1 | ruby1.9.1 security update |
Debian DLA |
DLA-1359-1 | ruby1.8 security update |
Debian DLA |
DLA-1421-1 | ruby2.1 security update |
Debian DSA |
DSA-4259-1 | ruby2.3 security update |
EUVD |
EUVD-2018-18658 | 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. |
Ubuntu USN |
USN-3626-1 | Ruby vulnerabilities |
References
History
Sat, 12 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T06:17:17.120Z
Reserved: 2018-02-12T00:00:00.000Z
Link: CVE-2018-6914
No data.
Status : Modified
Published: 2018-04-03T22:29:00.587
Modified: 2024-11-21T04:11:24.910
Link: CVE-2018-6914
OpenCVE Enrichment
No data.
Weaknesses
Debian DLA
Debian DSA
EUVD
Ubuntu USN