ruby-carrierwave: CarrierWave is an open-source RubyGem which provides a simple and flexible way to upload files from Ruby applications
CVE-2021-21305 is fixed in ruby-carrierwave on 1 platform, first by ruby-carrierwave 1.2.2-1ubuntu0.1~esm1, released November 29, 2023. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| ruby-carrierwave · Ubuntu 18.04.6 LTS (bionic) | 1.2.2-1ubuntu0.1~esm1 | ruby-carrierwave 1.2.2-1ubuntu0.1~esm1 | Nov 29, 2023 |
| ruby-carrierwave · Ubuntu 20.04 LTS (focal) | 1.3.1-2ubuntu0.1~esm1 | ruby-carrierwave 1.3.1-2ubuntu0.1~esm1 | Nov 29, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.