CVE-2021-33564
CRITICAL9.8EPSS 93.4%Dragonfly contains remote code execution vulnerability
Published: 6/2/2021Modified: 2/16/2024
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.
Affected packages (1)
- RubyGems/dragonflyfrom 0, < 1.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (9)
- ADVISORYhttps://github.com/advisories/GHSA-j858-xp5v-f8xx
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-33564
- WEBhttps://github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5
- WEBhttps://github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0
- WEBhttps://github.com/markevans/dragonfly/issues/513
- WEBhttps://github.com/mlr0p/CVE-2021-33564
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/dragonfly/CVE-2021-33564.yml
- WEBhttps://raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-33564.yaml
- WEBhttps://zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly