| 概要 | Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.2, 1.8.24 through 1.8.26, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression. NOTE: this issue is due to an incomplete fix for CVE-2013-4287. |
|---|---|
| 公表日 | 2013年10月18日8:55 |
| 登録日 | 2021年1月26日15:43 |
| 最終更新日 | 2024年11月21日10:55 |
| CVSS2.0 : MEDIUM | |
| スコア | 4.3 |
|---|---|
| ベクター | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 中 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | 低 |
| 全ての特権を取得 | いいえ |
| ユーザー権限を取得 | いいえ |
| その他の権限を取得 | いいえ |
| ユーザー操作が必要 | いいえ |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:rubygems:rubygems:1.8.24:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.16:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.0:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.1:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.20:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.8:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.12:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.22:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.17:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.15:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.5:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.21:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.26:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.9:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:preview2.2:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:preview2:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.6:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.14:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.10:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.19:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.13:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.9:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.18:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.25:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:*:*:*:*:*:*:*:* | 1.8.23 | ||||
| cpe:2.3:a:rubygems:rubygems:1.8.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.7:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.0:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.1.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.4:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:2.0.8:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:rubygems:rubygems:1.8.11:*:*:*:*:*:*:* | |||||
| 構成2 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p426:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p385:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p429:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p392:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:* | |||||
| タイトル | Ruby で使用される RubyGems の lib/rubygems/version.rb におけるサービス運用妨害 (DoS) の脆弱性 |
|---|---|
| 概要 | Ruby で使用される RubyGems の lib/rubygems/version.rb 内の Gem::Version::ANCHORED_VERSION_PATTERN には、アルゴリズムの複雑性により、サービス運用妨害 (CPU 資源の消費) 状態にされる脆弱性が存在します。 本問題は、CVE-2013-4287 の修正が不完全だったことによる問題です。 |
| 想定される影響 | 第三者により、正規表現の大量のバックトラッキングを誘発する巧妙に細工された gem バージョンを介して、サービス運用妨害 (CPU 資源の消費) 状態にされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2013年9月24日0:00 |
| 登録日 | 2013年10月21日19:07 |
| 最終更新日 | 2014年8月11日17:34 |
| Ruby-lang.org |
| Ruby 1.9.0 から 2.0.0p247 |
| RubyGems |
| RubyGems 1.8.23.2 未満 |
| RubyGems 1.8.24 から 1.8.26 |
| RubyGems 2.0.10 未満の 2.0.x |
| RubyGems 2.1.5 未満の 2.1.x |
| No | 変更内容 | 変更日 |
|---|---|---|
| 0 | [2013年10月21日] 掲載 [2014年01月09日] ベンダ情報:オラクル (Multiple Cryptographic Issues vulnerabilities in Ruby) を追加 [2014年03月06日] ベンダ情報:オラクル (Multiple vulnerabilities in Ruby) を追加 ベンダ情報:レッドハット (Bug 1009720) を追加 [2014年08月11日] ベンダ情報:オラクル (Multiple Cryptographic Issues vulnerabilities in RubyGems) を追加 |
2018年2月17日10:37 |