Alerts This Week
Warning Icon 1 1,153
Alerts This Week
Warning Icon 1 1,153

Ubuntu 24.04, 22.04, 20.04, 18.04: USN-7497-1 critical: CarrierWave issues

ubuntu
Calendar Grey May 7, 2025
Dist Ubuntu Esm H88
Boost the security of CarrierWave on Ubuntu LTS by auditing dependencies, validating uploads, sanitizing data, managing permissions, implementing CSP, and monitoring logs
Several security issues were fixed in CarrierWave.

Summary

Several security issues were fixed in CarrierWave.

Software Description:

- ruby-carrierwave: Ruby file upload library

Details:

Rikita Ishikawa discovered that CarrierWave did not correctly sanitize

certain inputs. An attacker could possibly use this issue to execute

arbitrary code. This issue only affected Ubuntu 18.04 LTS and

Ubuntu 20.04 LTS. (CVE-2021-21305)

Norihide Saito discovered that CarrierWave did not correctly sanitize

certain inputs. An attacker could possibly use this issue to execute a

cross-site scripting (XSS) attack. (CVE-2023-49090)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.04 LTS
   ruby-carrierwave                1.3.2-2ubuntu0.24.04.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 22.04 LTS
   ruby-carrierwave                1.3.2-2ubuntu0.22.04.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 20.04 LTS
   ruby-carrierwave                1.3.1-2ubuntu0.1~esm1
                                   Available with Ubuntu Pro

Ubuntu 18.04 LTS
   ruby-carrierwave                1.2.2-1ubuntu0.1~esm1
                                   Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  https://ubuntu.com/security/notices/USN-7497-1

  CVE-2021-21305, CVE-2023-49090

Severity
critical
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7497-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here