CVE-2021-33564Dragonfly Project Dragonfly
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Dragonfly Project · Dragonfly Project Dragonfly We alert you by email or Slack (account required).
- Priority
- 81
- CVSS 3.1
- 9.8
- EPSS
- 72.1% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- May 29, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-88
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An argument injection vulnerability in the Dragonfly gem before 1.4.0 for Ruby allows remote attackers to read and write to arbitrary files via a crafted URL when the verify_url option is disabled. This may lead to code execution. The problem occurs because the generate and process features mishandle use of the ImageMagick convert utility.
What to do
- Apply the vendor's security update for Dragonfly.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | dragonfly |
< 1.4.0 |
1.4.0 |
gem "dragonfly", ">= 1.4.0" |
Per OSV / GitHub Advisories (GHSA-j858-xp5v-f8xx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dragonfly_project | dragonfly | < 1.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Exploit Third Party Advisory
- raw.githubusercontent.com Exploit Third Party Advisory
- zxsecurity.co.nz Exploit Third Party Advisory