{"id":"CVE-2015-4410","aliases":["CVE-2015-4410","GHSA-f93j-hmcr-jcwh"],"related":[],"kind":"vulnerability","state":"published","title":"Moped Rubygem Data Injection Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"`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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El método Moped::BSON::ObjecId.legal? en rubygem-moped antes del commit dd5a7c14b5d2e466f7875d079af71ad19774609b, permite a atacantes remotos causar una denegación de servicio (consumo de recursos de worker) o llevar a cabo un ataque de tipo cross-site scripting (XSS) por medio de una cadena diseñada.","source":"nvd"}],"published":"2020-02-20T16:24:26.000Z","modified":"2026-06-17T00:27:14.487Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.3"}],"ecosystem":"RubyGems","package":"moped","purl":"pkg:gem/moped","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.5"}],"ecosystem":"RubyGems","package":"moped","purl":"pkg:gem/moped","source":"ghsa"},{"ranges":[],"vendor":"moped_project","product":"moped","cpe":"cpe:2.3:a:moped_project:moped:-:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"21"},{"status":"affected","version":"22"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:21:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1229757","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/06/3","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.securityfocus.com/bid/75045","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24","tags":["exploit","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://seclists.org/oss-sec/2015/q2/653","tags":["mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.securityfocus.com/bid/75045","tags":["third-party-advisory","vdb-entry","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4410","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mongoid/moped","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045","tags":["web"],"sources":["ghsa"]},{"url":"http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2015-4410","url":"https://www.cve.org/CVERecord?id=CVE-2015-4410","licence":"CVE Terms of Use","modified":"2024-08-06T06:11:13.071Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f93j-hmcr-jcwh","url":"https://github.com/advisories/GHSA-f93j-hmcr-jcwh","licence":"CC-BY-4.0","modified":"2024-02-16T08:10:02.211Z"},{"source":"nvd","name":"NVD","id":"CVE-2015-4410","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4410","licence":"Public domain","modified":"2026-06-17T00:27:14.487Z"}],"updatedAt":"2026-11-25T22:57:25.446Z","epss":{"score":0.05661,"percentile":0.93142,"date":"2026-12-01T12:00:22.000Z"}}