#VU38340 Out-of-bounds read in MongoDB and libbson - CVE-2017-14227

 

#VU38340 Out-of-bounds read in MongoDB and libbson - CVE-2017-14227

Published: September 9, 2017 / Updated: December 22, 2020


Vulnerability identifier: #VU38340
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-14227
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
MongoDB
libbson
Software vendor:
MongoDB, Inc.

Description

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.


Remediation

Install update from vendor's website.

External links