{"id":"CVE-2021-21288","published":"2021-02-08T19:15:16Z","modified":"2024-08-03T18:09:15Z","title":"Server-side request forgery in CarrierWave","vendor":"carrierwaveuploader","product":"carrierwave","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01187,"percentile":0.6864,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5","tags":["x_refsource_CONFIRM"]},{"url":"https://rubygems.org/gems/carrierwave/","tags":["x_refsource_MISC"]},{"url":"https://github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0","tags":["x_refsource_MISC"]},{"url":"https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#132---2021-02-08","tags":["x_refsource_MISC"]},{"url":"https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#211---2021-02-08","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":13.73},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"carrierwaveuploader","affectedVersions":[{"vendor":"carrierwaveuploader","product":"carrierwave","versions":["< 1.3.2",">= 2.0.0, < 2.1.1"]}],"affected":[{"ecosystem":"RubyGems","package":"carrierwave","vulnerableRanges":["<1.3.2",">=2.0.0, <2.1.1"],"patched":["1.3.2","2.1.1"],"from":["GHSA-fwcm-636p-68r5"],"provenance":"source"}],"summary":{"text":"A server-side request forgery flaw exists in the download feature of CarrierWave, an open-source Ruby gem for uploading files from Ruby applications, in versions before 1.3.2 and 2.1.1. An attacker with low privileges over the network, requiring no user interaction, can supply DNS names or IP addresses meant for internal use, causing the application to reach internal hosts and gather information about the platform's intranet infrastructure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:27Z"},"euvd":{"id":"EUVD-2021-0552","exploited":false,"provenance":"source"}}