CVE-2015-4410
HIGH 7.5CVSS 3.1Moped Rubygem Data Injection Vulnerability
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.
- Published
- 20 Feb 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-f93j-hmcr-jcwh
- Sources
- NVDJSONOSV GHSA-f93j-hmcr-jcwhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | moped_project | mopedcpe:2.3:a:moped_project:moped:-:*:*:*:*:ruby:*:* |
(no version) | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:* |
= 21 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| OSV | RubyGems | moped | < 1.5.3 | 1.5.3 |
| OSV | RubyGems | moped | >= 2.0.0, < 2.0.5 | 2.0.5 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html · Mailing List, Third Party Advisory, WEB
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html · Mailing List, 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://bugzilla.redhat.com/show_bug.cgi?id=1229757 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24 · Exploit, WEB
- https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html · Exploit, Third Party Advisory, WEB
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html · Exploit, Third Party Advisory, WEB
- 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
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 20 Feb 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Aug 2020)