# CVE-2013-0334: Bundler may install gems from a different source than expected

Source: https://junglewise.ai/threats/cve-2013-0334-bundler-may-install-gems-from-a-different-source-than-expected  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-05  
License: CC BY 4.0 with a link back

CVE-2013-0334 · Severity: info · Published 2022-05-05

Bundler may install gems from a different source than expected

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

## Quick answers

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

**How severe is CVE-2013-0334?** Informational severity, published 5 May 2022.

**Which products and versions are affected?** bundler (RubyGems) ECOSYSTEM:introduced=0,fixed=1.7.0.

**Is there a fix for CVE-2013-0334?** Yes. bundler (RubyGems): upgrade to 1.7.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-0334?** Check whether you run bundler (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

- bundler (RubyGems): upgrade to 1.7.0 or later

  ```sh
  bundle update bundler
  ```


## Affected products

- bundler (RubyGems) ECOSYSTEM:introduced=0,fixed=1.7.0

## Identifiers

- CVE-2013-0334
- GHSA-49jx-9cmc-xjxm

## Related threats

- [Bundler allows attacker to inject arbitrary code via secondary Gem source](https://junglewise.ai/threats/cve-2016-7954-bundler-allows-attacker-to-inject-arbitrary-code-via-secondary-gem)
- [Local Code Execution through Argument Injection via dash leading git url parameter in Gemfile.](https://junglewise.ai/threats/cve-2021-43809-local-code-execution-through-argument-injection-via-dash-leading)
- [Dependency Confusion in Bundler](https://junglewise.ai/threats/cve-2020-36327-dependency-confusion-in-bundler)
- [Insecure path handling in Bundler](https://junglewise.ai/threats/cve-2019-3881-insecure-path-handling-in-bundler)
