NVD Vulnerability Detail
Search Exploit, PoC
CVE-2019-16255
Summary

Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.

Publication Date Nov. 27, 2019, 3:15 a.m.
Registration Date Jan. 26, 2021, 11:39 a.m.
Last Update Nov. 21, 2024, 1:30 p.m.
CVSS3.1 : HIGH
スコア 8.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
CVSS2.0 : MEDIUM
Score 6.8
Vector AV:N/AC:M/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.6.0 2.6.4
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.5.0 2.5.6
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* 2.4.0 2.4.7
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Ruby におけるインジェクションに関する脆弱性
Title Ruby におけるインジェクションに関する脆弱性
Summary

Ruby には、インジェクションに関する脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

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

Publication Date Oct. 1, 2019, midnight
Registration Date Dec. 11, 2019, 10:16 a.m.
Last Update Dec. 11, 2019, 10:16 a.m.
Affected System
Ruby-lang.org
Ruby 2.4.7 まで
Ruby 2.5.6 までの 2.5.x
Ruby 2.6.4 までの 2.6.x
Debian
Debian GNU/Linux 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2019年12月11日]
  掲載
Dec. 11, 2019, 10:16 a.m.