CVE-2021-33564
Dragonfly Project Dragonfly vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Dragonfly. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dragonfly Project Dragonfly runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/markevans/dragonfly/commit/25399297bb457f7fcf8e3f91e85945b255b111b5 · Patch
- github.com/markevans/dragonfly/compare/v1.3.0...v1.4.0 · Patch
- github.com/markevans/dragonfly/issues/513 · Third Party Advisory
- github.com/mlr0p/CVE-2021-33564 · Exploit
- raw.githubusercontent.com/projectdiscovery/nuclei-templates/master/cves/2021/CVE-2021-3356 · Exploit
- zxsecurity.co.nz/research/argunment-injection-ruby-dragonfly/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-33564
- cve.org/CVERecord?id=CVE-2021-33564
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.