Skip to content

CVE-2017-14227 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 bu...

HighCVSS 7.5 EPSS 5.5%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
debian/libbson-xs-perl(Debian 12) < 0.8.4-2+deb12u1; = 0.8.4-2 0.8.4-2+deb12u1 Fixed
ubuntu/libbson(Ubuntu Pro 16.04) < 1.3.1-1ubuntu0.1~esm1; = 1.3.1-1 1.3.1-1ubuntu0.1~esm1 Fixed
mongodb/mongodb = 1.7.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libbson-xs-perl(Debian:12) < 0.8.4-2+deb12u1 0.8.4-2+deb12u1
debian/libbson-xs-perl(Debian:12) = 0.8.4-2 No fix listed
mongodb/mongodb = 1.7.0 No fix listed
ubuntu/libbson(Ubuntu:Pro:16.04) < 1.3.1-1ubuntu0.1~esm1 1.3.1-1ubuntu0.1~esm1
ubuntu/libbson(Ubuntu:Pro:16.04) = 1.3.1-1 No fix listed

References