{"id":"CVE-2015-4411","aliases":["EUVD-2020-0391","GHSA-qh4w-7pw3-p4rp"],"status":"published","title":"BSON rubygem contains potential denial of service","description":"The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.06372,"percentile":0.93699,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-02-20T16:24:22Z","modified":"2026-06-17T00:27:14Z","fixes":[{"ecosystem":"RubyGems","package":"bson","fixed_in":["3.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"bson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"bson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.4"}]}],"versions":["0.20","0.20.1","1.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.9","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.10.0.rc0","1.10.0.rc1","1.10.1","1.10.2","1.11.1","1.12.0","1.12.0.rc0","1.12.0.rc1","1.12.0.rc2","1.12.1","1.12.2","1.12.3","1.12.4","1.12.5","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.rc0","1.2.rc1","1.2.rc2","1.3.0","1.3.0.rc0","1.3.1","1.4.0","1.4.1","1.5.0","1.5.0.rc0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.4","1.7.0","1.7.0.rc0","1.7.1","1.8.0","1.8.1","1.8.1.rc0","1.8.1.rc1","1.8.2","1.8.3","1.8.3.rc0","1.8.3.rc1","1.8.4","1.8.4.rc0","1.8.5","1.8.6","1.9.0","1.9.1","1.9.1.rc0","1.9.2","2.0.0","2.0.0.alpha","2.0.0.beta","2.0.0.rc","2.0.0.rc1","2.0.0.rc2","2.0.0.rc3","2.1.0","2.1.1","2.1.2","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.3.0","3.0.0","3.0.1","3.0.2","3.0.3"]}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"mongodb","product":"bson"}],"references":[{"url":"https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2015/06/06/3","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"http://www.securityfocus.com/bid/75045","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24","tags":["x_refsource_MISC","x_transferred","Patch","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1229706","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","web"]},{"url":"https://github.com/mongodb/bson-ruby/commit/fef6f75413511d653c76bf924a932374a183a24f#diff-8c8558c185bbb548ccb5a6d6ac4bfee5R191","tags":["x_refsource_MISC","x_transferred","Patch","web"]},{"url":"https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7","tags":["x_refsource_MISC","x_transferred","Patch","web"]},{"url":"https://seclists.org/oss-sec/2015/q2/653","tags":["x_refsource_MISC","x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999","tags":["x_refsource_MISC","x_transferred","Patch","web"]},{"url":"https://www.securityfocus.com/bid/75045","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-4411","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4411","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-qh4w-7pw3-p4rp","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4411.yml","tags":["web"]},{"url":"https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045","tags":["web"]},{"url":"https://github.com/mongodb/bson-ruby","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2015-4411","description":"The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","status":"published","published":"2020-02-20T16:24:22Z","modified":"2024-08-06T06:11:12.989Z","updated_at":"2026-11-02T14:35:43.698357Z"}],"euvd":[{"id":"EUVD-2020-0391","description":"The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","status":"published","published":"2020-02-20T16:24:22Z","modified":"2024-08-06T06:11:12Z","updated_at":"2026-11-03T02:22:04.101765Z"}],"ghsa":[{"id":"GHSA-qh4w-7pw3-p4rp","title":"BSON rubygem contains potential denial of service","description":"The `Moped::BSON::ObjecId.legal?` method in `mongodb/bson-ruby` before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","status":"published","published":"2020-04-29T15:34:50Z","modified":"2023-08-25T21:29:47Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2015-4411","description":"The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","status":"published","published":"2020-02-20T17:15:12.68Z","modified":"2026-06-17T00:27:14.63Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:03:19.73542Z"}],"osv":[{"id":"GHSA-qh4w-7pw3-p4rp","title":"BSON rubygem contains potential denial of service","description":"The `Moped::BSON::ObjecId.legal?` method in `mongodb/bson-ruby` before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.","status":"published","published":"2020-04-29T15:34:50Z","modified":"2024-02-16T07:56:40.219985Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:54.40888Z"}]}}
