Fedora 29 : mongo-c-driver (2018-2f8f5f75f1)

Medium Nessus Plugin ID 120326


The remote Fedora host is missing a security update.


**libbson 1.13.0**


- New functions to save and restore progress of a bson_iter_t: bson_iter_key_len, bson_iter_offset, and son_iter_init_from_data_at_offset Additional functions bson_iter_overwrite_date_time, bson_iter_overwrite_oid, and bson_iter_overwrite_timestamp. All fixed-length BSON values can now be updated in place.

**Bug fixes:**

- Fix crash when iterating corrupt BSON.


**libmongoc 1.13.0**


- Report a new error code, MONGOC_ERROR_GRIDFS_CORRUPT, when a chunk larger than chunkSize is detected. Before, the driver had crashed with an assert. Restructure of install directory. All mongoc headers are under mongoc/ and all bson headers are under bson/. The preferred way of including the headers are mongoc/mongoc.h and bson/bson.h respectively. Forwarding headers in the root are provided for backwards compatibility.

- The default CMake build type had been unspecified, now it is RelWithDebInfo.

- Support LibreSSL 2.7+.

**Bug fixes:**

- mongoc_collection_replace_one is now a correctly exported symbol.

- Fix multiple issues with readConcern and writeConcern inheritance.

- Fix rare crash with mongodb+srv URIs on Windows.

- mongoc_gridfs_create_file_from_stream ignored errors while writing chunks to the server.

- The following functions should not have taken a 'bypassDocumentValidation' option in bson_t *opts, the option is now prohibited :

- mongoc_bulk_operation_insert_with_opts

- mongoc_bulk_operation_update_one_with_opts

- mongoc_bulk_operation_update_many_with_opts

- mongoc_bulk_operation_replace_one_with_opts

- The heartbeat-succeeded and heartbeat-failed events (part of SDAM Monitoring) had uninitialized 'duration' fields, they are now set correctly.

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected mongo-c-driver package.

See Also


Plugin Details

Severity: Medium

ID: 120326

File Name: fedora_2018-2f8f5f75f1.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2019/01/03

Updated: 2019/01/03

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:P

CVSS v3.0

Base Score: 8.1

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

Vulnerability Information

CPE: p-cpe:/a:fedoraproject:fedora:mongo-c-driver, cpe:/o:fedoraproject:fedora:29

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 2018/09/29

Reference Information

CVE: CVE-2018-16790