NVD Vulnerability Detail
Search Exploit, PoC
CVE-2021-21305
Summary

CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications. In CarrierWave before versions 1.3.2 and 2.1.1, there is a code injection vulnerability. The "#manipulate!" method inappropriately evals the content of mutation option(:read/:write), allowing attackers to craft a string that can be executed as a Ruby code. If an application developer supplies untrusted inputs to the option, it will lead to remote code execution(RCE). This is fixed in versions 1.3.2 and 2.1.1.

Publication Date Feb. 9, 2021, 5:15 a.m.
Registration Date Feb. 9, 2021, 10:01 a.m.
Last Update Nov. 21, 2024, 2:47 p.m.
CVSS3.1 : HIGH
スコア 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(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:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:* 2.0.1 2.1.1
cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:* 1.3.2
Related information, measures and tools
Common Vulnerabilities List

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

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

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

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

Publication Date Feb. 8, 2021, midnight
Registration Date Oct. 29, 2021, 5:48 p.m.
Last Update Oct. 29, 2021, 5:48 p.m.
Affected System
CarrierWave project
CarrierWave 1.3.2 未満
CarrierWave 2.1.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年10月29日]
  掲載
Oct. 29, 2021, 5:48 p.m.