{"id":"CVE-2021-33564","state":"PUBLISHED","title":"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 op","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.","publishedAt":"2021-05-29T13:19:16.000Z","updatedAt":"2024-08-03T23:50:43.164Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","https://github.com/mlr0p/CVE-2021-33564","https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:36.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/33xxx/CVE-2021-33564.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-33564","state":"PUBLISHED","datePublished":"2021-05-29T13:19:16.000Z","dateUpdated":"2024-08-03T23:50:43.164Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2021-05-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/markevans/dragonfly/issues/513","tags":["x_refsource_MISC"]},{"url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","tags":["x_refsource_MISC"]},{"url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","tags":["x_refsource_MISC"]},{"url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","tags":["x_refsource_MISC"]},{"url":"https://github.com/mlr0p/CVE-2021-33564","tags":["x_refsource_MISC"]},{"url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-05-29T13:19:16.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"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":[{"name":"https://github.com/markevans/dragonfly/issues/513","refsource":"MISC","url":"https://github.com/markevans/dragonfly/issues/513"},{"name":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","refsource":"MISC","url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5"},{"name":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","refsource":"MISC","url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0"},{"name":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","refsource":"MISC","url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml"},{"name":"https://github.com/mlr0p/CVE-2021-33564","refsource":"MISC","url":"https://github.com/mlr0p/CVE-2021-33564"},{"name":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","refsource":"MISC","url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/markevans/dragonfly/issues/513","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/mlr0p/CVE-2021-33564","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:50:43.164Z"}}]}}}