high7.5
CVE-2015-4410
Moped Rubygem Data Injection Vulnerability
Impact
`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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | moped | < 1.5.3 | 1.5.3 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Moped Project | Moped | All versions |
| Fedoraproject | Fedora | Versions 21, 22 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
- http://www.openwall.com/lists/oss-security/2015/06/06/3
- http://www.securityfocus.com/bid/75045
- https://bugzilla.redhat.com/show_bug.cgi?id=1229757
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24
- 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://www.securityfocus.com/bid/75045
- https://github.com/advisories/GHSA-f93j-hmcr-jcwh
- https://nvd.nist.gov/vuln/detail/CVE-2015-4410
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml
- http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
- https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045