CVE-2021-21288
MEDIUM 4.3CVSS 3.1Server-side request forgery in CarrierWave
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.
- Published
- 8 Feb 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-fwcm-636p-68r5
- Sources
- NVDJSONOSV GHSA-fwcm-636p-68r5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | carrierwave_project | carrierwavecpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:* |
< 1.3.2 | 1.3.2 |
| NVD | carrierwave_project | carrierwavecpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:* |
>= 2.0.1, < 2.1.1 | 2.1.1 |
| OSV | RubyGems | carrierwave | < 1.3.2 | 1.3.2 |
| OSV | RubyGems | carrierwave | >= 2.0.0, < 2.1.1 | 2.1.1 |
References
- https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#132---2021-02-08 · Release Notes, Third Party Advisory, WEB
- https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#211---2021-02-08 · Release Notes, Third Party Advisory, WEB
- https://github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0 · Patch, Third Party Advisory, WEB
- https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5 · Third Party Advisory, WEB
- https://rubygems.org/gems/carrierwave/ · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21288 · ADVISORY
- https://github.com/carrierwaveuploader/carrierwave · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2021-21288.yml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 8 Feb 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Feb 2021)