Out-of-bounds Read Affecting libbson package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.96% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-LIBBSON-343792
  • published9 Sept 2017
  • disclosed9 Sept 2017

Introduced: 9 Sep 2017

CVE-2017-14227  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:16.04 libbson.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbson package and not the libbson package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.