Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-33564
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-33564
Complete source record
{
"id": "e0c6cb2f18029ca74b08c0882c6ee1d0d7e1180717cb9642c0b57f1c51787746",
"url": "https://osv.dev/vulnerability/CVE-2021-33564",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-33564",
"summary": "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.",
"evidence": "osv:CVE-2021-33564",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-33564",
"aliases": [
"CVE-2021-33564",
"GHSA-j858-xp5v-f8xx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/markevans/dragonfly",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "35e88d14987bf425dcace67f9b100d9a23cae904"
},
{
"fixed": "25399297bb457f7fcf8e3f91e85945b255b111b5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dragonfly_project:dragonfly:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "25399297bb457f7fcf8e3f91e85945b255b111b5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.5",
"v1.1.4",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.12",
"v1.0.11",
"v1.0.10",
"v1.0.9",
"v1.0.8",
"v1.0.7",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.9.15",
"v0.9.14",
"v0.9.13",
"security_fix",
"v0.9.12",
"v0.9.11",
"v0.9.10",
"v0.9.9",
"v0.9.8",
"v0.9.7",
"v0.9.6",
"v0.9.5",
"v0.9.4",
"v0.9.3",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.7",
"v0.7.6",
"v0.7.5",
"v0.7.4",
"v0.7.3",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.7",
"v0.5.6",
"v0.5.5",
"v0.5.4",
"v0.5.3",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.8",
"v0.3.7",
"v0.3.6",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.0",
"v0.2.1",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33564.json"
}
}
],
"modified": "2026-10-20T10:54:44.688009452Z",
"provider": "osv",
"references": [
"https://github.com/markevans/dragonfly/issues/513",
"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5",
"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0",
"https://github.com/mlr0p/CVE-2021-33564",
"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml",
"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-33564",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386054,
"published_at": "2021-05-29T14:15:08.51+00:00"
}