# Server-side request forgery in CarrierWave

Advisory record · `GHSA-fwcm-636p-68r5`

- **Identifiers:** `GHSA-fwcm-636p-68r5` · `CVE-2021-21288`
- **State:** Confirmed
- **Severity:** CVSS 4.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 8 Feb 2021
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Feb 2021, 19:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `carrierwave` (RubyGems): affected `<1.3.2 || >=2.0.0, <2.1.1`; fixed in `1.3.2`, `2.1.1`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CarrierWave, a Ruby gem, versions before 1.3.2 and from 2.0.0 before 2.1.1 are affected by a server-side request forgery flaw in its remote file download feature. An attacker who can supply URLs or DNS names to that feature can make the server reach internal addresses and gather information about the internal network. Upgrade to 2.1.1 or 1.3.2. Limiting outbound network access from application servers and keeping them away from internal resources can reduce the impact.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.012, the 68th percentile, on 10 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:16 UTC: First seen by agentprime
- 31 Oct 2026, 15:16 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-fwcm-636p-68r5)

## Sources

- [GitHub Advisory Database: GHSA-fwcm-636p-68r5](https://github.com/advisories/GHSA-fwcm-636p-68r5)
- [OSV: GHSA-fwcm-636p-68r5](https://osv.dev/vulnerability/GHSA-fwcm-636p-68r5)
- <https://github.com/carrierwaveuploader/carrierwave/security/advisories/GHSA-fwcm-636p-68r5>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21288>
- <https://github.com/carrierwaveuploader/carrierwave/commit/012702eb3ba1663452aa025831caa304d1a665c0>
- <https://github.com/carrierwaveuploader/carrierwave>
- <https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#132---2021-02-08>
- <https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md#211---2021-02-08>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/carrierwave/CVE-2021-21288.yml>
- <https://rubygems.org/gems/carrierwave>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-fwcm-636p-68r5>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-fwcm-636p-68r5/>. Everything for agents: <https://agentprime.io/llms.txt>.
