---
title: "CVE-2017-14227\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2017-14227?format=md
keywords: index, follow
---

# CVE-2017-14227

Publication date 9 September 2017

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2017-14227?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libbson | 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 21.04 hirsute | Not in release |
| 20.10 groovy | Not in release |
| 20.04 LTS focal | Not in release |
| 19.10 eoan | Not in release |
| 19.04 disco | Not in release |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 17.04 zesty | Ignored end of life |
| 16.04 LTS xenial | Fixed 1.3.1-1ubuntu0.1~esm1  Ubuntu Pro |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2017-14227?format=md#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| libbson | * Upstream:   [fbf6295](https://github.com/mongodb/libbson/commit/fbf6295e46b2986e58a1e761ee1e097e591f8cef) * Upstream:   [5a23ee4](https://github.com/mongodb/libbson/commit/5a23ee4f860e688e5a99217e54746d58c32b7496) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14227)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2017-14227)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2017-14227)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2017-14227)

### Related Ubuntu Security Notices (USN)

+ [USN-4812-1](https://usn.ubuntu.com/USN-4812-1)
+ libbson vulnerabilities
+ 15 March 2021

### Other references

* <https://bugzilla.redhat.com/show_bug.cgi?id=1489355>
* <https://bugzilla.redhat.com/show_bug.cgi?id=1489356>
* <https://bugzilla.redhat.com/show_bug.cgi?id=1489362>
* <https://jira.mongodb.org/browse/CDRIVER-2269>
* <https://www.cve.org/CVERecord?id=CVE-2017-14227>
