CVE-2019-16255

Exp

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.

公開: 2019-11-26 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2019-16255 は悪用リスクが高い(81.8/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 4.20%、90 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +3.04% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2019-16255 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2019-16255 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 1.16% 4.20% +3.04%
2 2026-03-21 1.38% 1.16% -0.23%
3 2026-02-18 1.38%

EPSS の全履歴 (全 27 件)

CVE-2019-16255 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.1 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.2 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
8.6 6.4 [email protected]

CVE-2019-16255 の弱点分類(列挙)

CVE-2019-16255 の OS トラッカー

vendor priority summary link
alpine high CVE-2019-16255: 1 source package rows (ruby); 30 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 20. https://security.alpinelinux.org/vuln/CVE-2019-16255
debian not yet assigned CVE-2019-16255 not yet assigned priority: Debian including 1 source packages (jruby), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2019-16255
gentoo normal CVE-2019-16255: 1 GLSA(s) (202003-06), 1 atom(s) (dev-lang/ruby); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2019-16255
redhat medium https://access.redhat.com/security/cve/CVE-2019-16255
suse medium CVE-2019-16255 severity moderate: SUSE including 311 source package names (2.17-17.3:libruby2_5-2_5-2.5.7-4.8.1, 2.17-17.3:ruby2.5-2.5.7-4.8.1, …), 1032 product×package rows across 253 product lines (Container bci/ruby, Container suse/rmt-server, … (253 product lines)): Fixed 860, Known Affected 157, Known Not Affected 9, Will Not Fix 6. https://www.suse.com/security/cve/CVE-2019-16255/
ubuntu medium CVE-2019-16255 medium priority: Ubuntu including 3 source packages (jruby, ruby2.3, ruby2.5), 52 status rows across 18 suites (bionic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 30, ignored 9, needs-triage 7, released 6. https://ubuntu.com/security/CVE-2019-16255

CVE-2019-16255 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
ruby-lang ruby >= 2.4.0, <= 2.4.7 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.5.0, <= 2.5.6 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.6.0, <= 2.6.4 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
opensuse leap 15.1 cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
oracle graalvm 19.3.0.2 cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*

CVE-2019-16255 の参考情報

URL タグ
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html Third Party Advisory
https://hackerone.com/reports/327512 Exploit Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html
https://seclists.org/bugtraq/2019/Dec/31 Broken Link Mailing List Third Party Advisory
https://seclists.org/bugtraq/2019/Dec/32 Broken Link Mailing List Third Party Advisory
https://security.gentoo.org/glsa/202003-06 Third Party Advisory
https://www.debian.org/security/2019/dsa-4587 Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2020.html Patch Third Party Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255/ Vendor Advisory
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released/ Release Notes
https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released/ Release Notes
cvelogic Threat Intelligence