Out-of-bounds Read The advisory has been revoked - it doesn't affect any version of package libbson  (opens in a new tab)


Threat Intelligence

EPSS
5.47% (93rd 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-UBUNTU1810-LIBBSON-660277
  • 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)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:18.10.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libbson package and not the libbson package as distributed by Ubuntu.

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.