CVE-2021-21288

Server-side request forgery in CarrierWave

MEDIUM
4.3
CVSS Score
Published: February 8, 2021 at 07:15 PM UTC
Updated: June 17, 2026 at 03:35 AM UTC
2 products affected across 2 vendorsCarrierwaveProject Carrierwave

Using carrierwave by carrierwaveuploader?

Get instant alerts when new vulnerabilities affect carrierwave - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.3
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.3.22.0.1 ≤ v < 2.1.1
Affected range stops below 1.3.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.1.1, so it looks safe — our inference, not a vendor statement
v < 1.3.2v < 2.1.1
Affected range stops below 1.3.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.1.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

4.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-918

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card