# Moped Rubygem Data Injection Vulnerability

Advisory record · `GHSA-f93j-hmcr-jcwh`

- **Identifiers:** `GHSA-f93j-hmcr-jcwh` · `CVE-2015-4410`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **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:** 19 Aug 2020
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Aug 2020, 16:45 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `moped` (RubyGems): affected `<1.5.3 || >=2.0.0, <2.0.5`; fixed in `1.5.3`, `2.0.5`

## 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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.057, the 93rd 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 19 Aug 2020. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-f93j-hmcr-jcwh](https://github.com/advisories/GHSA-f93j-hmcr-jcwh)
- [OSV: GHSA-f93j-hmcr-jcwh](https://osv.dev/vulnerability/GHSA-f93j-hmcr-jcwh)
- <https://nvd.nist.gov/vuln/detail/CVE-2015-4410>
- <https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1229757>
- <https://github.com/mongoid/moped>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml>
- <https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html>
- <https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html>
- <https://seclists.org/oss-sec/2015/q2/653>
- <https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045>
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html>
- <http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.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-f93j-hmcr-jcwh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f93j-hmcr-jcwh/>. Everything for agents: <https://agentprime.io/llms.txt>.
