GitHub Advisoryadvisory · RubyGems

GHSA-j858-xp5v-f8xx Dragonfly contains remote code execution vulnerability

CRITICAL Published 2021-06-02 Modified 2023-08-25 Official page ↗
Aliases
CVE-2021-33564
Ecosystem
RubyGems
Packages
dragonfly
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-88, CWE-94
Reviewed
2021-06-01

Affected packages

• RubyGems dragonfly: < 1.4.0 → fixed in 1.4.0

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.

Related

Alias · CVE (1)

  • CVE-2021-33564 An argument injection vulnerability in the Dragonfly gem before 1.4.0 for Ruby allows remote attackers to read and write to arbitrary files… vulnerability

Weakness · CWE (2)

  • CWE-88 Improper Neutralization of Argument Delimiters in a Command weakness
  • CWE-94 Improper Control of Generation of Code weakness

References