CVE-2021-33564
CRITICAL 9.8CVSS 3.1Dragonfly contains remote code execution vulnerability
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.
- Published
- 29 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88CWE-94
- Also known as
- GHSA-j858-xp5v-f8xx
- Sources
- NVDJSONOSV GHSA-j858-xp5v-f8xxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dragonfly_project | dragonflycpe:2.3:a:dragonfly_project:dragonfly:*:*:*:*:*:ruby:*:* |
< 1.4.0 | 1.4.0 |
| OSV | RubyGems | dragonfly | < 1.4.0 | 1.4.0 |
References
- https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5 · Patch, Third Party Advisory, WEB
- https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0 · Patch, Third Party Advisory, WEB
- https://github.com/markevans/dragonfly/issues/513 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/mlr0p/CVE-2021-33564 · Exploit, Third Party Advisory, WEB
- https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml · Exploit, Third Party Advisory, WEB
- https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-33564 · ADVISORY
- https://github.com/advisories/GHSA-j858-xp5v-f8xx · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dragonfly/CVE-2021-33564.yml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jun 2021)