{"id":"GHSA-j858-xp5v-f8xx","summary":"Dragonfly contains remote code execution vulnerability","details":"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.","aliases":["CVE-2021-33564"],"modified":"2024-02-16T08:14:53.365593Z","published":"2021-06-02T21:42:49Z","database_specific":{"github_reviewed_at":"2021-06-01T16:59:54Z","nvd_published_at":"2021-05-29T14:15:00Z","cwe_ids":["CWE-88","CWE-94"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33564"},{"type":"WEB","url":"https://github.com/markevans/dragonfly/issues/513"},{"type":"WEB","url":"https://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-j858-xp5v-f8xx"},{"type":"WEB","url":"https://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0"},{"type":"WEB","url":"https://github.com/mlr0p/CVE-2021-33564"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/dragonfly/CVE-2021-33564.yml"},{"type":"WEB","url":"https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml"},{"type":"WEB","url":"https://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly"}],"affected":[{"package":{"name":"dragonfly","ecosystem":"RubyGems","purl":"pkg:gem/dragonfly"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"versions":["0.1.0","0.1.1","0.1.4","0.1.5","0.1.6","0.2.1","0.3.0","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7","0.3.8","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.6.0","0.6.1","0.6.2","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.8.0","0.8.1","0.8.2","0.8.4","0.8.5","0.8.6","0.9.0","0.9.1","0.9.10","0.9.11","0.9.12","0.9.13","0.9.14","0.9.15","0.9.2","0.9.3","0.9.4","0.9.5","0.9.8","0.9.9","1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.2.0","1.2.1","1.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-j858-xp5v-f8xx/GHSA-j858-xp5v-f8xx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}