Advisory

GHSA-j858-xp5v-f8xx

Also known as: CVE-2021-33564

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-06-02 21:42 UTC
Modified
2024-02-16 08:14 UTC

Affected packages and fixes

dragonfly

RubyGems · All systems

Affected

  • introduced 0, fixed 1.4.0 (ecosystem)

Fixed versions

1.4.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences