Vulnerability Details : CVE-2021-21288
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.
Vulnerability category: Server-side request forgery (SSRF)
Products affected by CVE-2021-21288
- cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*
- Carrierwave Project » Carrierwave » For RubyVersions from including (>=) 2.0.1 and before (<) 2.1.1cpe:2.3:a:carrierwave_project:carrierwave:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-21288
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 39 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-21288
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:N |
8.0
|
2.9
|
NIST | |
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
2.8
|
1.4
|
NIST | |
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
2.8
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2021-21288
-
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.Assigned by: security-advisories@github.com (Primary)
References for CVE-2021-21288
-
https://rubygems.org/gems/carrierwave/
carrierwave | RubyGems.org | your community gem hostProduct;Third Party Advisory
-
https://github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0
Fix SSRF vulnerability in the remote file download feature · carrierwaveuploader/carrierwave@012702e · GitHubPatch;Third Party Advisory
-
https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#132---2021-02-08
carrierwave/CHANGELOG.md at master · carrierwaveuploader/carrierwave · GitHubRelease Notes;Third Party Advisory
-
https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#211---2021-02-08
carrierwave/CHANGELOG.md at master · carrierwaveuploader/carrierwave · GitHubRelease Notes;Third Party Advisory
-
https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5
SSRF vulnerability in CarrierWave remote file upload · Advisory · carrierwaveuploader/carrierwave · GitHubThird Party Advisory
Jump to