# CVE-2013-5671: Code injection in dragonfly gem

Source: https://junglewise.ai/threats/cve-2013-5671-code-injection-in-dragonfly-gem  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-10-24  
License: CC BY 4.0 with a link back

CVE-2013-5671 · Severity: info · Published 2017-10-24

Code injection in dragonfly gem

Technologies: [dragonfly (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-dragonfly). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2013-5671 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2013-5671 being exploited in the wild.

**How severe is CVE-2013-5671?** Informational severity, published 24 October 2017.

**Which products and versions are affected?** dragonfly (RubyGems) ECOSYSTEM:introduced=0,fixed=1.0.0; fog-dragonfly (RubyGems) ECOSYSTEM:introduced=0,last_affected=0.9.15.

**Is there a fix for CVE-2013-5671?** Yes. dragonfly (RubyGems): upgrade to 1.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2013-5671?** Check whether you run dragonfly (RubyGems) or fog-dragonfly (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- dragonfly (RubyGems): upgrade to 1.0.0 or later

  ```sh
  bundle update dragonfly
  ```


## Affected products

- dragonfly (RubyGems) ECOSYSTEM:introduced=0,fixed=1.0.0
- fog-dragonfly (RubyGems) ECOSYSTEM:introduced=0,last_affected=0.9.15

## Identifiers

- CVE-2013-5671
- GHSA-qrgf-jqqm-x7xv

## Related threats

- [Arbitrary file write in dragonfly](https://junglewise.ai/threats/cve-2021-33473-arbitrary-file-write-in-dragonfly)
- [Dragonfly contains remote code execution vulnerability](https://junglewise.ai/threats/cve-2021-33564-dragonfly-contains-remote-code-execution-vulnerability)
- [Dragonfly Code Injection vulnerability](https://junglewise.ai/threats/cve-2013-1756-dragonfly-code-injection-vulnerability)
