{"id":"UBUNTU-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-04-22T12:05:13.235840Z","published":"2017-09-09T08:29:00Z","related":["USN-4812-1"],"upstream":["CVE-2017-14227"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-14227"},{"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"},{"type":"REPORT","url":"https://jira.mongodb.org/browse/CDRIVER-2269"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-14227"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4812-1"}],"affected":[{"package":{"name":"libbson","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libbson@1.3.1-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1ubuntu0.1~esm1"}]}],"versions":["1.3.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libbson-1.0-0","binary_version":"1.3.1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}