{"id":"GHSA-f93j-hmcr-jcwh","summary":"Moped Rubygem Data Injection Vulnerability","details":"`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.","aliases":["CVE-2015-4410"],"modified":"2024-02-16T08:10:02.211472Z","published":"2020-08-19T16:45:49Z","database_specific":{"github_reviewed_at":"2020-08-14T16:47:12Z","nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4410"},{"type":"WEB","url":"https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1229757"},{"type":"WEB","url":"https://github.com/mongoid/moped"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml"},{"type":"WEB","url":"https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html"},{"type":"WEB","url":"https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"},{"type":"WEB","url":"https://seclists.org/oss-sec/2015/q2/653"},{"type":"WEB","url":"https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html"},{"type":"WEB","url":"http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2015/06/06/3"}],"affected":[{"package":{"name":"moped","ecosystem":"RubyGems","purl":"pkg:gem/moped"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.5.3"}]}],"versions":["0.0.0.beta","1.0.0","1.0.0.alpha","1.0.0.beta","1.0.0.rc","1.0.1","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.2.2","1.2.4","1.2.5","1.2.6","1.2.7","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.5.0","1.5.1","1.5.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-f93j-hmcr-jcwh/GHSA-f93j-hmcr-jcwh.json"}},{"package":{"name":"moped","ecosystem":"RubyGems","purl":"pkg:gem/moped"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.5"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-f93j-hmcr-jcwh/GHSA-f93j-hmcr-jcwh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}