{"id":"CVE-2017-14227","details":"In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which allows remote attackers to cause a denial of service (heap-based buffer over-read in the bson_utf8_validate function in bson-utf8.c), as demonstrated by bson-to-json.c.","modified":"2026-07-08T10:55:29.782999Z","published":"2017-09-09T08:29:00.287Z","references":[{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/100825"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489355"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489356"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489362"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb-js/vscode","events":[{"introduced":"3acde059a9b744c6fa551344dff826bc2ffa7c39"},{"last_affected":"3acde059a9b744c6fa551344dff826bc2ffa7c39"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:mongodb:mongodb:1.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.7.0"},{"last_affected":"1.7.0"}]}}],"versions":["1.7.0","v1.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14227.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo","events":[{"introduced":"02013802f63d6cbe41bf814b2bc30d82e436d48f"},{"last_affected":"02013802f63d6cbe41bf814b2bc30d82e436d48f"}],"database_specific":{"cpe":"cpe:2.3:a:mongodb:mongodb:1.7.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.7.0"},{"last_affected":"1.7.0"}],"source":"CPE_STRING"}}],"versions":["1.7.0","r1.7.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-14227.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}