Ruby on Rails の Active Record における SQL インジェクションの脆弱性
| Title |
Ruby on Rails の Active Record における SQL インジェクションの脆弱性
|
| Summary |
Ruby on Rails の Active Record の activerecord/lib/active_record/connection_adapters/postgresql/cast.rb には、PostgreSQL が使用されている場合、SQL インジェクションの脆弱性が存在します。
|
| Possible impacts |
第三者により、配列カラムの操作が適切に処理されない \ (バックスラッシュ) 文字に関する問題によって、"データの追加 (add data)" SQL コマンドを実行される可能性があります。 |
| Solution |
ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
Feb. 18, 2014, midnight |
| Registration Date |
Feb. 21, 2014, 4:25 p.m. |
| Last Update |
Feb. 21, 2014, 4:25 p.m. |
|
CVSS2.0 : 警告
|
| Score |
6.8
|
| Vector |
AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected System
| Ruby on Rails project |
|
Rails 4.0.3 未満の 4.0.x
|
|
Rails 4.1.0.beta1
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 0 |
[2014年02月21日] 掲載 |
Feb. 17, 2018, 10:37 a.m. |
NVD Vulnerability Information
CVE-2014-0080
| Summary |
SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb in Active Record in Ruby on Rails 4.0.x before 4.0.3, and 4.1.0.beta1, when PostgreSQL is used, allows remote attackers to execute "add data" SQL commands via vectors involving \ (backslash) characters that are not properly handled in operations on array columns.
|
| Publication Date |
Feb. 21, 2014, 12:27 a.m. |
| Registration Date |
Jan. 26, 2021, 3:04 p.m. |
| Last Update |
Nov. 21, 2024, 11:01 a.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:rubyonrails:rails:4.0.0:-:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.1:-:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.2:*:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.1.0:beta1:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.0:beta:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.0:rc1:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.0:rc2:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.1:rc1:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.1:rc2:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.1:rc3:*:*:*:*:*:* |
|
|
|
|
| cpe:2.3:a:rubyonrails:rails:4.0.1:rc4:*:*:*:*:*:* |
|
|
|
|
Related information, measures and tools
Common Vulnerabilities List