Out-of-bounds Read Affecting libbson package, versions <1.9.2-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.13% (82nd 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-UBUNTU1804-LIBBSON-460659
  • published25 Sept 2018
  • disclosed10 Sept 2018

Introduced: 10 Sep 2018

CVE-2018-16790  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 libbson to version 1.9.2-1ubuntu0.1~esm2 or higher.

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:18.04 relevant fixed versions and status.

_bson_iter_next_internal in bson-iter.c in libbson 1.12.0, as used in MongoDB mongo-c-driver and other products, has a heap-based buffer over-read via a crafted bson buffer.