{"id":"CVE-2021-33564","published":"2021-05-29T13:19:16Z","modified":"2024-08-03T23:50:43Z","title":"An argument injection vulnerability in the Dragonfly gem before 1.4.0 for Ruby allows remote attackers to read and…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"An argument injection flaw in the Dragonfly gem for Ruby, in versions before 1.4.0, arises because its generate and process features mishandle use of the ImageMagick convert utility. An attacker who can send a crafted URL to an application using Dragonfly can read and write arbitrary files and potentially execute code, provided the verify_url option is disabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:32Z"},"cvss":null,"epss":{"score":0.72143,"percentile":0.99598,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2023-11-29","exploitedFirstSeen":"2023-11-29","ransomware":false,"evidence":[{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-33564","date":"2023-11-29"},{"url":"https://www.f5.com/labs/articles/threat-intelligence/sensor-intel-series-top-cves-august-2024","date":"2024-09-19"},{"url":"https://www.f5.com/labs/articles/threat-intelligence/botpoke-scanner-switches-ip","date":"2024-11-25"},{"url":"https://www.f5.com/labs/articles/threat-intelligence/continued-scanning-for-cve-2023-1389","date":"2025-01-21"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)","url":"https://otx.alienvault.com/pulse/67c6bb5aa601e91b1314ff44","created":"2025-03-04"},{"name":"Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files","url":"https://otx.alienvault.com/pulse/664cc3c1938ed0b9abf026a2","created":"2024-05-21"}],"provenance":"machine"},"cwes":[],"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"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"RubyGems","package":"dragonfly","vulnerableRanges":["<1.4.0"],"patched":["1.4.0"],"from":["GHSA-j858-xp5v-f8xx"],"provenance":"source"}],"advisories":[{"id":"GHSA-j858-xp5v-f8xx","url":"https://github.com/advisories/GHSA-j858-xp5v-f8xx","severity":"CRITICAL","ecosystem":"RubyGems","package":"dragonfly","vulnerableRanges":["<1.4.0"],"patched":["1.4.0"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-1341","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1341","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2021-05-25","earliestUrl":"https://github.com/mlr0p/CVE-2021-33564","repos":[{"name":"mlr0p/CVE-2021-33564","url":"https://github.com/mlr0p/CVE-2021-33564","stars":16,"created":"2021-05-25"},{"name":"dorkerdevil/CVE-2021-33564","url":"https://github.com/dorkerdevil/CVE-2021-33564","stars":0,"created":"2021-05-27"}]},"nuclei":[{"id":"CVE-2021-33564","name":"Ruby Dragonfly <1.4.0 - Remote Code Execution","severity":"critical","path":"http/cves/2021/CVE-2021-33564.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-33564.yaml"}],"first":{"date":"2021-05-25","source":"PoC-in-GitHub","url":"https://github.com/mlr0p/CVE-2021-33564"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2021-05-25","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/mlr0p/CVE-2021-33564","provenance":"source"},{"date":"2021-05-29","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-33564","provenance":"source"},{"date":"2023-11-29","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2021-33564","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":61.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1092 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9960"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}