GLSA-202105-04 : Boost: Buffer overflow

critical Nessus Plugin ID 150011

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: Critical

ID: 150011

File Name: gentoo_GLSA-202105-04.nasl

Version: 1.4

Type: local

Published: 5/27/2021

Updated: 1/12/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2012-2677

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: CVSS:3.0/E:P/RL:O/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 Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/26/2021

Vulnerability Publication Date: 7/25/2012

Reference Information

CVE: CVE-2012-2677

GLSA: 202105-04