CVE-2015-4410 — Vulnerability in moped — CVE Details
HIGH
Moped Rubygem Data Injection Vulnerability
Published August 19, 2020Updated February 16, 2024Source: osv
Summary
`The Moped::BSON::ObjecId.legal?` method in rubygem-moped before [commit dd5a7c14b5d2e466f7875d079af71ad19774609b](https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24) allows remote attackers to cause a denial of service (worker resource consumption) or perform a cross-site scripting (XSS) attack via a crafted string.
Advisory Timeline
- First published August 19, 2020 (2245 days ago).
- Last revised February 16, 2024 — 1276 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Bundler
Update moped to 1.5.3 or latergem install moped -v 1.5.3
Bundler
Update moped to 2.0.5 or latergem install moped -v 2.0.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-4410ADVISORY
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1229757WEB
- https://github.com/mongoid/mopedWEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.ymlWEB
- https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.htmlWEB
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.htmlWEB
- https://seclists.org/oss-sec/2015/q2/653WEB
- https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045WEB
- https://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.htmlWEB
- https://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.htmlWEB
- https://www.openwall.com/lists/oss-security/2015/06/06/3WEB
Frequently Asked Questions
- What is CVE-2015-4410?
- Moped Rubygem Data Injection Vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2015-4410?
- CVE-2015-4410 affects moped. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2015-4410 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
7.5
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
GHSA-f93j-hmcr-jcwh
Related CVEs
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies