GLSA-202105-04 : Boost: Buffer overflow

medium Nessus Plugin ID 150011
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202105-04 (Boost: Buffer overflow)

It was discovered that Boost incorrectly sanitized ‘next_size’ and ‘max_size’ parameter in ordered_malloc() function when allocating memory.
Impact :

A remote attacker could provide a specially crafted application-specific file (requiring runtime memory allocation to be processed correctly), that, when opened with an application using Boost C++ source libraries, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.
Workaround :

There is no known workaround at this time.

Solution

All Boost users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/boost-1.74.0-r2'

See Also

https://security.gentoo.org/glsa/202105-04

Plugin Details

Severity: Medium

ID: 150011

File Name: gentoo_GLSA-202105-04.nasl

Version: 1.2

Type: local

Published: 5/27/2021

Updated: 6/1/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:boost, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 5/26/2021

Vulnerability Publication Date: 7/25/2012

Reference Information

CVE: CVE-2012-2677

GLSA: 202105-04