NVD Vulnerability Detail
Search Exploit, PoC
CVE-2018-8780
Summary

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, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

Publication Date April 4, 2018, 7:29 a.m.
Registration Date March 1, 2021, 7:42 p.m.
Last Update Nov. 21, 2024, 1:14 p.m.
CVSS3.0 : CRITICAL
スコア 9.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : HIGH
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.2.10
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.3.0 2.3.7
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.4.0 2.4.4
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.5.0 2.5.1
cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Ruby におけるパストラバーサルの脆弱性
Title Ruby におけるパストラバーサルの脆弱性
Summary

Ruby には、パストラバーサルの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 28, 2018, midnight
Registration Date June 8, 2018, 12:10 p.m.
Last Update June 8, 2018, 12:10 p.m.
Affected System
Ruby-lang.org
Ruby 2.2.10 未満
Ruby 2.3.7 未満の 2.3.x
Ruby 2.4.4 未満の 2.4.x
Ruby 2.5.1 未満の 2.5.x
Ruby 2.6.0-preview1
Debian
Debian GNU/Linux 
Canonical
Ubuntu 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2018年06月08日]
  掲載
June 8, 2018, 12:10 p.m.