Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. dragonfly
  4. ›
  5. CVE-2021-33564

CVE-2021-33564: Argument Injection or Modification

May 29, 2021 (updated June 10, 2021)

An argument injection vulnerability in the Dragonfly gem 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.

References

  • github.com/markevans/dragonfly/issues/513
  • nvd.nist.gov/vuln/detail/CVE-2021-33564

Code Behaviors & Features

Detect and mitigate CVE-2021-33564 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.4.0

Fixed versions

  • 1.4.0

Solution

Upgrade to version 1.4.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

gem/dragonfly/CVE-2021-33564.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:05 +0000.