# CVE-2015-4410: Moped Rubygem Data Injection Vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.66%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2020-02-20T16:24:26.000Z
- Modified: 2026-06-17T00:27:14.487Z
- Also known as: GHSA-f93j-hmcr-jcwh
- Weaknesses: CWE-20
- Assigned by: mitre

## Description

The Moped::BSON::ObjecId.legal? method in rubygem-moped before commit dd5a7c14b5d2e466f7875d079af71ad19774609b allows remote attackers to cause a denial of service (worker resource consumption) or perform a cross-site scripting (XSS) attack via a crafted string.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- moped (RubyGems): before 1.5.3; from 2.0.0 before 2.0.5
- moped_project moped: no versions given
- fedoraproject fedora: 21; 22

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html> (exploit, third-party-advisory, web)
- <https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html> (exploit, third-party-advisory, web)
- <https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24> (exploit, web)
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html> (mailing-list, third-party-advisory, web)
- <http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html> (mailing-list, third-party-advisory, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1229757> (issue-tracking, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2015/06/06/3> (mailing-list, third-party-advisory, web)
- <http://www.securityfocus.com/bid/75045> (third-party-advisory, vdb-entry)
- <https://seclists.org/oss-sec/2015/q2/653> (mailing-list, third-party-advisory, web)
- <https://www.securityfocus.com/bid/75045> (third-party-advisory, vdb-entry)
- <https://nvd.nist.gov/vuln/detail/CVE-2015-4410> (advisory)
- <https://github.com/mongoid/moped> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml> (web)
- <https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045> (web)
- <http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html> (web)

## Sources

- CVE List: [CVE-2015-4410](https://www.cve.org/CVERecord?id=CVE-2015-4410), CVE Terms of Use, modified 2024-08-06
- GitHub Advisory Database: [GHSA-f93j-hmcr-jcwh](https://github.com/advisories/GHSA-f93j-hmcr-jcwh), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2015-4410](https://nvd.nist.gov/vuln/detail/CVE-2015-4410), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2015-4410 · Whole record: https://cve.day/CVE-2015-4410.json · Rebuilt by cve.day 2026-11-25T22:57:25.446Z
