{"id":"CVE-2017-14227","aliases":["DEBIAN-CVE-2017-14227","DLA-4160-1","EUVD-2017-5737","GHSA-98vg-qmpv-23vr","UBUNTU-CVE-2017-14227","USN-4812-1"],"status":"published","title":"In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a...","description":"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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/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-09","score":0.05465,"percentile":0.92805,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2017-09-09T08:00:00Z","modified":"2026-10-24T10:31:00Z","fixes":[{"ecosystem":"Debian:12","package":"libbson-xs-perl","fixed_in":["0.8.4-2+deb12u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libbson","fixed_in":["1.3.1-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"libbson-xs-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-2+deb12u1"}]}],"versions":["0.8.4-2"]},{"source":"osv","ecosystem":"Debian:11","package":"libbson-xs-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.8.4-1+deb11u1"}]}],"versions":["0.8.4-1"],"bundled":6},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libbson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1ubuntu0.1~esm1"}]}],"versions":["1.3.1-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libbson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-1ubuntu0.1~esm1"}]}],"versions":["1.3.1-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libbson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.2-1ubuntu0.1~esm2"}]}],"versions":["1.8.0-1","1.8.1-1","1.9.0-1","1.9.2-1"],"bundled":2}],"products":[{"vendor":"mongodb","product":"mongodb"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489362","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"http://www.securityfocus.com/bid/100825","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489355","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1489356","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-14227"},{"url":"https://github.com/advisories/GHSA-98vg-qmpv-23vr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-14227","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-14227","tags":["report"]},{"url":"https://jira.mongodb.org/browse/CDRIVER-2269","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-14227","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4812-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-16790","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2017-14227","description":"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.","status":"published","published":"2017-09-09T08:00:00Z","modified":"2025-11-03T19:25:19.804Z","updated_at":"2026-11-02T14:33:12.267141Z"}],"euvd":[{"id":"EUVD-2017-5737","description":"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.","status":"published","published":"2017-09-09T08:00:00Z","modified":"2025-11-03T19:25:19Z","updated_at":"2026-11-02T19:49:34.152725Z"}],"ghsa":[{"id":"GHSA-98vg-qmpv-23vr","title":"In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a...","description":"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.","status":"published","published":"2022-05-13T01:43:21Z","modified":"2025-11-03T21:30:30Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:04:18.176646Z"}],"nvd":[{"id":"CVE-2017-14227","description":"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.","status":"published","published":"2017-09-09T08:29:00.287Z","modified":"2026-06-17T01:05:47.327Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/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-125"],"updated_at":"2026-11-02T14:03:58.85945Z"}],"osv":[{"id":"CVE-2017-14227","description":"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.","status":"published","published":"2017-09-09T08:29:00.287Z","modified":"2026-10-24T10:31:00.025974598Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:04.572713Z"},{"id":"DEBIAN-CVE-2017-14227","description":"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.","status":"published","published":"2017-09-09T08:29:00.287Z","modified":"2026-09-01T20:03:44.24770056Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:28.801885Z"},{"id":"UBUNTU-CVE-2017-14227","description":"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.","status":"published","published":"2017-09-09T08:29:00Z","modified":"2026-04-22T11:15:47.675324Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:14.122973Z"},{"id":"DLA-4160-1","title":"libbson-xs-perl - security update","status":"published","published":"2025-05-09T00:00:00Z","modified":"2026-03-09T01:18:57.590987Z","updated_at":"2026-11-02T15:46:12.7027Z"},{"id":"USN-4812-1","title":"libbson vulnerabilities","description":"It was discovered that libbson incorrectly validated input length. An\nattacker could possibly use this issue to cause a denial of service. This\nissue affected only Ubuntu 16.04 ESM. (CVE-2017-14227)\n\nIt was discovered that libbson incorrectly handled certain specially\ncrafted bson buffers. An attacker could possibly use this issue to cause\na denial of service. (CVE-2018-16790)","status":"published","published":"2021-03-15T21:45:46Z","modified":"2026-06-25T13:30:16.899739897Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
