Medium severity4.3NVD Advisory· Published Feb 8, 2021· Updated Jun 17, 2026
CVE-2021-21288
CVE-2021-21288
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
carrierwaveRubyGems | < 1.3.2 | 1.3.2 |
carrierwaveRubyGems | >= 2.0.0, < 2.1.1 | 2.1.1 |
Affected products
6- cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*Range: <1.3.2
- osv-coords4 versionspkg:deb/ubuntu/[email protected]+gh-2?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/[email protected]?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/[email protected]?arch=source&distro=focalpkg:gem/carrierwave
>= 0+ 3 more
- (no CPE)range: >= 0
- (no CPE)range: >= 0
- (no CPE)range: >= 0
- (no CPE)range: < 1.3.2
- Range: < 1.3.2
Patches
Vulnerability mechanics
References
9- github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-fwcm-636p-68r5ghsaADVISORY
- github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.mdnvdRelease NotesThird Party AdvisoryWEB
- github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.mdnvdRelease NotesThird Party AdvisoryWEB
- github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-21288ghsaADVISORY
- rubygems.org/gems/carrierwave/nvdProductThird Party Advisory
- github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2021-21288.ymlghsaWEB
- rubygems.org/gems/carrierwaveghsaWEB
News mentions
0No linked articles in our index yet.