{"api_version":"1","generated_at":"2026-07-23T15:01:01+00:00","cve":"CVE-2021-33564","urls":{"html":"https://cve.report/CVE-2021-33564","api":"https://cve.report/api/cve/CVE-2021-33564.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-33564","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-33564"},"summary":{"title":"CVE-2021-33564","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-05-29 14:15:00","updated_at":"2021-06-10 15:20:00"},"problem_types":["CWE-88"],"metrics":[],"references":[{"url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","name":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","refsource":"MISC","tags":[],"title":"CVE-2021-33564 Argument Injection in Ruby Dragonfly | ZX Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","name":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","refsource":"MISC","tags":[],"title":"Comparing v1.3.0...v1.4.0 · markevans/dragonfly · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mlr0p/CVE-2021-33564","name":"https://github.com/mlr0p/CVE-2021-33564","refsource":"MISC","tags":[],"title":"GitHub - mlr0p/CVE-2021-33564: Argument Injection in Dragonfly Ruby Gem","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","name":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/markevans/dragonfly/issues/513","name":"https://github.com/markevans/dragonfly/issues/513","refsource":"MISC","tags":[],"title":"Security Issue Report · Issue #513 · markevans/dragonfly · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","name":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","refsource":"MISC","tags":[],"title":"Merge branch 'better-security' · markevans/dragonfly@2539929 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-33564","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33564","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"33564","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"dragonfly_project","cpe5":"dragonfly","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-33564","qid":"690106","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for dragonfly (c9e2a1a7-caa1-11eb-904f-14dae9d5a9d2)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-33564","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/markevans/dragonfly/issues/513","refsource":"MISC","name":"https://github.com/markevans/dragonfly/issues/513"},{"url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","refsource":"MISC","name":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5"},{"url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","refsource":"MISC","name":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0"},{"refsource":"MISC","name":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml"},{"refsource":"MISC","name":"https://github.com/mlr0p/CVE-2021-33564","url":"https://github.com/mlr0p/CVE-2021-33564"},{"refsource":"MISC","name":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/"}]}},"nvd":{"publishedDate":"2021-05-29 14:15:00","lastModifiedDate":"2021-06-10 15:20:00","problem_types":["CWE-88"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:dragonfly_project:dragonfly:*:*:*:*:*:ruby:*:*","versionEndExcluding":"1.4.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"33564","Ordinal":"208971","Title":"CVE-2021-33564","CVE":"CVE-2021-33564","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"33564","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"33564","Ordinal":"2","NoteData":"2021-05-29","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"33564","Ordinal":"3","NoteData":"2021-05-29","Type":"Other","Title":"Modified"}]}}}