Out-of-bounds read in MongoDB libbson



Published: 2017-09-09 | Updated: 2020-12-22
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2017-14227
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
MongoDB
Server applications / Database software

libbson
Universal components / Libraries / Libraries used by multiple products

Vendor MongoDB, Inc.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU38340

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2017-14227

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

MongoDB: 1.7.0

libbson: 1.7.0

External links

http://www.securityfocus.com/bid/100825
http://bugzilla.redhat.com/show_bug.cgi?id=1489355
http://bugzilla.redhat.com/show_bug.cgi?id=1489356
http://bugzilla.redhat.com/show_bug.cgi?id=1489362


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###