{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2015-4412","published":"2018-02-05T16:29:00.410000Z","last_modified":"2026-06-17T00:27:14.797000Z","status":"Modified","cvss":{"version":"3.0","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","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-400"],"cpes":[{"criteria":"cpe:2.3:a:bson_project:bson:3.0.3:*:*:*:*:ruby:*:*","part":"a","vendor":"bson_project","product":"bson","version":"3.0.3"}],"cpes_truncated":false,"vendors":["bson_project"],"products":["bson_project/bson"],"epss":{"score":0.04663,"percentile":0.9253,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-h6rj-8r3c-9gpj","ecosystem":"RubyGems","name":"bson","purl":"pkg:gem/bson","ranges":[{"introduced":"0","fixed":"1.12.3"}],"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.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"],"versions_truncated":false},{"advisory":"GHSA-h6rj-8r3c-9gpj","ecosystem":"RubyGems","name":"bson","purl":"pkg:gem/bson","ranges":[{"introduced":"2.0","fixed":"3.0.4"}],"versions":["2.0.0","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"],"versions_truncated":false}],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2015-4412/","html_en":"/en/cve/CVE-2015-4412/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-4412","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-4412"},"untrusted":{"vendor_name":"Bson Project","product_name":"Bson","desc_en":"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.","affected":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/06/06/3","tags":["Mailing List"]},{"url":"http://www.securityfocus.com/bid/75045","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1229750","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/mongodb/bson-ruby/commit/976da329ff03ecdfca3030eb6efe3c85e6db9999","tags":["Third Party Advisory"]},{"url":"https://github.com/mongodb/bson-ruby/compare/7446d7c6764dfda8dc4480ce16d5c023e74be5ca...28f34978a85b689a4480b4d343389bf4886522e7","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html","tags":["Exploit","Patch","Third Party Advisory"]}]}}