{"id":"CVE-2015-4412","aliases":[],"url":"https://o3.security/vulnerability/CVE-2015-4412","summary":"bson is vulnerable to denial of service due to incorrect regex validation","details":"BSON injection vulnerability in the legal function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string.","published":"2018-03-05T19:43:21Z","modified":"2024-02-16T08:07:06.561735Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"bson","fixedVersion":"1.12.3"},{"ecosystem":"RubyGems","name":"bson","fixedVersion":"3.0.4"}],"fix":{"url":"https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999","label":"mongodb/bson-ruby@976da32"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-4412"},{"type":"WEB","url":"https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1229750"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h6rj-8r3c-9gpj"},{"type":"PACKAGE","url":"https://github.com/mongodb/bson-ruby"},{"type":"WEB","url":"https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bson/CVE-2015-4412.yml"},{"type":"WEB","url":"https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.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"},{"type":"WEB","url":"http://www.securityfocus.com/bid/75045"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2024-02-16T08:07:06.561735Z"}}