Out-of-bounds read in MongoDB and libbson - CVE-2017-14227
Published: September 9, 2017 / Updated: December 22, 2020
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error in In MongoDB libbson 1.7.0, the bson_iter_codewscope function in bson-iter.c miscalculates a bson_utf8_validate length argument, which. A remote attacker can perform 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.
Affected software
libbson
Fedora
libbson
How to mitigate CVE-2017-14227
libbson - addressed in versions 1.3.5-4.el7, 1.3.5-4.fc25, 1.6.3-2.fc26, 1.8.0-1.fc27