製品・ソフトウェアに関する情報
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.
CVSS3.0 : 重要
Score 8.8
Vector CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
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.

NVD Vulnerability Information
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.
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