PT-2021-14391 · Unknown · Carrierwave

Mshibuya

·

Published

2021-02-08

·

Updated

2021-02-12

·

CVE-2021-21288

CVSS v3.1

4.3

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions: CarrierWave versions prior to 1.3.2 CarrierWave versions prior to 2.1.1
Description: The download feature in CarrierWave has a Server-Side Request Forgery (SSRF) vulnerability, allowing attacks to provide DNS entries or IP addresses intended for internal use and gather information about the Intranet infrastructure of the platform.
Recommendations: For versions prior to 1.3.2, upgrade to version 1.3.2. For versions prior to 2.1.1, upgrade to version 2.1.1. As a temporary workaround, consider using proper network segmentation and applying the principle of least privilege to outbound connections from application servers to reduce the severity of SSRF vulnerabilities. Ideally, the vulnerable gem should run on an isolated server without access to any internal network resources or cloud metadata access.

Exploit

Fix

SSRF

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-21288
GHSA-FWCM-636P-68R5

Affected Products

Carrierwave