portage-ng / portage / dev-libs / boost / 1.90.0-r2
portage-ng glsa
2 advisories reference dev-libs/boost · none place version 1.90.0-r2 in a vulnerable range
▸ GLSA 202105-04 Boost: Buffer overflow this version unaffected normal local, remote 2021-05-26

A buffer overflow in Boost might allow remote attacker(s) to execute arbitrary code.

Announced
2021-05-26
Revised
2021-05-26
Access
local, remote
Bugs
#620468
Advisory
https://security.gentoo.org/glsa/202105-04

Affected packages

PackageArchVulnerableUnaffected
dev-libs/boost*< 1.74.0-r2>= 1.74.0-r2

Background

Boost is a set of C++ libraries, including the Boost.Regex library to process regular expressions.

Description

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.

Resolution

All Boost users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/boost-1.74.0-r2"

References

▸ GLSA 200802-08 Boost: Denial of service this version unaffected normal remote 2008-02-14

Two vulnerabilities have been reported in Boost, each one possibly resulting in a Denial of Service.

Announced
2008-02-14
Revised
2008-02-14
Access
remote
Bugs
#205955
Advisory
https://security.gentoo.org/glsa/200802-08

Affected packages

PackageArchVulnerableUnaffected
dev-libs/boost*< 1.34.1-r2>= 1.34.1-r2

Background

Boost is a set of C++ libraries, including the Boost.Regex library to process regular expressions.

Description

Tavis Ormandy and Will Drewry from the Google Security Team reported a failed assertion in file regex/v4/perl_matcher_non_recursive.hpp (CVE-2008-0171) and a NULL pointer dereference in function get_repeat_type() file basic_regex_creator.hpp (CVE-2008-0172) when processing regular expressions.

Impact

A remote attacker could provide specially crafted regular expressions to an application using Boost, resulting in a crash.

Workaround

There is no known workaround at this time.

Resolution

All Boost users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/boost-1.34.1-r2"

References