Server-Side Request Forgery (SSRF) The advisory has been revoked - it doesn't affect any version of package ruby-carrierwave  (opens in a new tab)


Threat Intelligence

EPSS
1.19% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-RUBYCARRIERWAVE-1124961
  • published25 Mar 2025
  • disclosed8 Feb 2021

Introduced: 8 Feb 2021

CVE-2021-21288  (opens in a new tab)
CWE-918  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:20.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-carrierwave package and not the ruby-carrierwave package as distributed by Ubuntu.

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 the download feature has an SSRF vulnerability, allowing attacks to provide DNS entries or IP addresses that are intended for internal use and gather information about the Intranet infrastructure of the platform. This is fixed in versions 1.3.2 and 2.1.1.