Moderate severityNVD Advisory· Published Feb 8, 2021· Updated Aug 3, 2024
Server-side request forgery in CarrierWave
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
5- osv-coords4 versionspkg:deb/ubuntu/ruby-carrierwave@0.10.0+gh-2?arch=source&distro=esm-apps/xenialpkg:deb/ubuntu/ruby-carrierwave@1.2.2-1?arch=source&distro=esm-apps/bionicpkg:deb/ubuntu/ruby-carrierwave@1.3.1-2?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/advisories/GHSA-fwcm-636p-68r5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-21288ghsaADVISORY
- github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.mdghsax_refsource_MISCWEB
- github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0ghsax_refsource_MISCWEB
- github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5ghsax_refsource_CONFIRMWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2021-21288.ymlghsaWEB
- rubygems.org/gems/carrierwaveghsaWEB
- rubygems.org/gems/carrierwave/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.