# Bundler may install gems from a different source than expected

Advisory record · `GHSA-49jx-9cmc-xjxm`

- **Identifiers:** `GHSA-49jx-9cmc-xjxm` · `CVE-2013-0334`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html)
- **Tags:** [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 5 May 2022
- **Updated:** 6 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 May 2022, 02:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `bundler` (RubyGems): affected `<1.7.0`; fixed in `1.7.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.043, the 91st percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 5 May 2022. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-49jx-9cmc-xjxm](https://github.com/advisories/GHSA-49jx-9cmc-xjxm)
- [OSV: GHSA-49jx-9cmc-xjxm](https://osv.dev/vulnerability/GHSA-49jx-9cmc-xjxm)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-0334>
- <https://github.com/rubygems/bundler>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bundler/CVE-2013-0334.yml>
- <https://security.gentoo.org/glsa/201609-02>
- <https://web.archive.org/web/20210122060358/https://www.securityfocus.com/bid/70099>
- <http://bundler.io/blog/2014/08/14/bundler-may-install-gems-from-a-different-source-than-expected-cve-2013-0334.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140609.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140654.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2014-October/140655.html>
- <http://lists.opensuse.org/opensuse-updates/2015-03/msg00092.html>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-49jx-9cmc-xjxm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-49jx-9cmc-xjxm/>. Everything for agents: <https://agentprime.io/llms.txt>.
