portage-ng / portage / dev-libs / libpcre / 8.45-r4
portage-ng glsa
7 advisories reference dev-libs/libpcre · none place version 8.45-r4 in a vulnerable range
▸ GLSA 201710-25 PCRE: Multiple vulnerabilities this version unaffected normal remote 2017-10-23

Multiple vulnerabilities have been found in the PCRE Library, the worst of which may allow remote attackers to cause a Denial of Service condition.

Announced
2017-10-23
Revised
2017-10-23
Access
remote
Bugs
#614048 #614052 #614054
Advisory
https://security.gentoo.org/glsa/201710-25

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libpcre*< 8.41>= 8.41

Background

The PCRE Library provides functions for Perl-compatible regular expressions.

Description

Multiple vulnerabilities have been discovered in The PCRE Library. Please review the references below for details.

Impact

A remote attacker could possibly cause a Denial of Service condition or other unspecified impacts via a specially crafted file.

Workaround

There is no known workaround at this time.

Resolution

All PCRE users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-8.41"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

References

▸ GLSA 201706-11 PCRE library: Denial of service this version unaffected normal remote 2017-06-06

A vulnerability in PCRE library allows remote attackers to cause a Denial of Service condition.

Announced
2017-06-06
Revised
2017-06-06
Access
remote
Bugs
#609592
Advisory
https://security.gentoo.org/glsa/201706-11

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libpcre*< 8.40-r1>= 8.40-r1

Background

PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.

Description

It was found that the compile_bracket_matchingpath function in pcre_jit_compile.c in PCRE library is vulnerable to an out-of-bounds read.

Impact

A remote attacker could possibly cause a Denial of Service condition via a special crafted regular expression.

Workaround

There is no known workaround at this time.

Resolution

All PCRE library users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-8.40-r1"

References

▸ GLSA 201607-02 libpcre: Multiple Vulnerabilities this version unaffected normal remote 2016-07-09

Multiple vulnerabilities have been found in libpcre, the worst of which could lead to arbitrary code execution, or cause a Denial of Service condition.

Announced
2016-07-09
Revised
2016-07-09
Access
remote
Bugs
#529952 #551240 #553300 #570694 #575546
Advisory
https://security.gentoo.org/glsa/201607-02

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libpcre*< 8.38-r1>= 8.38-r1

Background

libpcre is a library providing functions for Perl-compatible regular expressions.

Description

Multiple vulnerabilities have been discovered in libpcre. Please review the CVE identifiers referenced below for details.

Impact

An attacker can possibly execute arbitrary code or create a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All libpcre users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-8.38-r1"

References

▸ GLSA 200807-03 PCRE: Buffer overflow this version unaffected high remote 2008-07-07

A buffer overflow vulnerability has been discovered in PCRE, allowing for the execution of arbitrary code and a Denial of Service.

Announced
2008-07-07
Revised
2008-07-07
Access
remote
Bugs
#228091 #230039
Advisory
https://security.gentoo.org/glsa/200807-03

Affected packages

PackageArchVulnerableUnaffected
dev-libs/glib*< 2.16.3-r1>= 2.16.3-r1, < 2.14.0
dev-libs/libpcre*< 7.7-r1>= 7.7-r1

Background

PCRE is a Perl-compatible regular expression library. GLib includes a copy of PCRE.

Description

Tavis Ormandy of the Google Security team reported a heap-based buffer overflow when compiling regular expression patterns containing "Internal Option Settings" such as "(?i)".

Impact

A remote attacker could exploit this vulnerability by sending a specially crafted regular expression to an application making use of the PCRE library, which could possibly lead to the execution of arbitrary code or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All PCRE users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-7.7-r1"

All GLib users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/glib-2.16.3-r1"

References

▸ GLSA 200803-24 PCRE: Buffer overflow this version unaffected high remote 2008-03-17

A buffer overflow vulnerability has been discovered in PCRE, allowing for the execution of arbitrary code and Denial of Service.

Announced
2008-03-17
Revised
2008-03-17 (revision 2)
Access
remote
Bugs
#209067 #209293
Advisory
https://security.gentoo.org/glsa/200803-24

Affected packages

PackageArchVulnerableUnaffected
dev-libs/glib*< 2.14.6>= 2.14.6, < 2.14.0
dev-libs/libpcre*< 7.6-r1>= 7.6-r1

Background

PCRE is a Perl-compatible regular expression library. GLib includes a copy of PCRE.

Description

PCRE contains a buffer overflow vulnerability when processing a character class containing a very large number of characters with codepoints greater than 255.

Impact

A remote attacker could exploit this vulnerability by sending a specially crafted regular expression to an application making use of the PCRE library, which could possibly lead to the execution of arbitrary code or a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All PCRE users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-7.6-r1"

All GLib users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/glib-2.14.6"

References

▸ GLSA 200711-30 PCRE: Multiple vulnerabilities this version unaffected normal remote 2007-11-20

PCRE is vulnerable to multiple buffer overflow and memory corruption vulnerabilities, possibly leading to the execution of arbitrary code.

Announced
2007-11-20
Revised
2007-11-20
Access
remote
Bugs
#198198
Advisory
https://security.gentoo.org/glsa/200711-30

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libpcre*< 7.3-r1>= 7.3-r1

Background

PCRE is a library providing functions for Perl-compatible regular expressions.

Description

Tavis Ormandy (Google Security) discovered multiple vulnerabilities in PCRE. He reported an error when processing "\Q\E" sequences with unmatched "\E" codes that can lead to the compiled bytecode being corrupted (CVE-2007-1659). PCRE does not properly calculate sizes for unspecified "multiple forms of character class", which triggers a buffer overflow (CVE-2007-1660). Further improper calculations of memory boundaries were reported when matching certain input bytes against regex patterns in non UTF-8 mode (CVE-2007-1661) and when searching for unmatched brackets or parentheses (CVE-2007-1662). Multiple integer overflows when processing escape sequences may lead to invalid memory read operations or potentially cause heap-based buffer overflows (CVE-2007-4766). PCRE does not properly handle "\P" and "\P{x}" sequences which can lead to heap-based buffer overflows or trigger the execution of infinite loops (CVE-2007-4767), PCRE is also prone to an error when optimizing character classes containing a singleton UTF-8 sequence which might lead to a heap-based buffer overflow (CVE-2007-4768).

Chris Evans also reported multiple integer overflow vulnerabilities in PCRE when processing a large number of named subpatterns ("name_count") or long subpattern names ("max_name_size") (CVE-2006-7227), and via large "min", "max", or "duplength" values (CVE-2006-7228) both possibly leading to buffer overflows. Another vulnerability was reported when compiling patterns where the "-x" or "-i" UTF-8 options change within the pattern, which might lead to improper memory calculations (CVE-2006-7230).

Impact

An attacker could exploit these vulnerabilities by sending specially crafted regular expressions to applications making use of the PCRE library, which could possibly lead to the execution of arbitrary code, a Denial of Service or the disclosure of sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All PCRE users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-7.3-r1"

References

▸ GLSA 200508-17 libpcre: Heap integer overflow this version unaffected high remote 2005-08-25

libpcre is vulnerable to a heap integer overflow, possibly leading to the execution of arbitrary code.

Announced
2005-08-25
Revised
2005-08-25
Access
remote
Bugs
#103337
Advisory
https://security.gentoo.org/glsa/200508-17

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libpcre*< 6.3>= 6.3

Background

libpcre is a library providing functions for Perl-compatible regular expressions.

Description

libpcre fails to check certain quantifier values in regular expressions for sane values.

Impact

An attacker could possibly exploit this vulnerability to execute arbitrary code by sending specially crafted regular expressions to applications making use of the libpcre library.

Workaround

There is no known workaround at this time.

Resolution

All libpcre users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libpcre-6.3"

References