CVE Vulnerabilities

CVE-2021-21288

Server-Side Request Forgery (SSRF)

Published: Feb 08, 2021 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Affected Software

NameVendorStart VersionEnd Version
CarrierwaveCarrierwave_project*1.3.2 (excluding)
CarrierwaveCarrierwave_project2.0.1 (including)2.1.1 (excluding)
Ruby-carrierwaveUbuntubionic*
Ruby-carrierwaveUbuntugroovy*
Ruby-carrierwaveUbuntuhirsute*
Ruby-carrierwaveUbuntuimpish*
Ruby-carrierwaveUbuntukinetic*
Ruby-carrierwaveUbuntulunar*
Ruby-carrierwaveUbuntumantic*
Ruby-carrierwaveUbuntutrusty*
Ruby-carrierwaveUbuntuupstream*
Ruby-carrierwaveUbuntuxenial*

References