Out-of-Bounds Affecting pcre package, versions <0:8.21-7.8.amzn1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-AMZN201803-PCRE-1715184
- published 27 Sep 2021
- disclosed 17 Mar 2016
Introduced: 17 Mar 2016
CVE-2016-3191 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2018.03
pcre
to version 0:8.21-7.8.amzn1 or higher.
This issue was patched in ALAS-2018-1076
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream pcre
package and not the pcre
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2018.03
relevant fixed versions and status.
The compile_branch function in pcre_compile.c in PCRE 8.x before 8.39 and pcre2_compile.c in PCRE2 before 10.22 mishandles patterns containing an (*ACCEPT) substring in conjunction with nested parentheses, which allows remote attackers to execute arbitrary code or cause a denial of service (stack-based buffer overflow) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-3542.
References
- http://www.securityfocus.com/bid/84810
- https://bto.bluecoat.com/security-advisory/sa128
- https://bugs.debian.org/815920
- https://bugs.debian.org/815921
- https://bugs.exim.org/show_bug.cgi?id=1791
- https://bugzilla.redhat.com/show_bug.cgi?id=1311503
- https://www.tenable.com/security/tns-2016-18
- http://vcs.pcre.org/pcre2?view=revision&revision=489
- http://vcs.pcre.org/pcre?view=revision&revision=1631
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-3191
- http://rhn.redhat.com/errata/RHSA-2016-1025.html
- https://access.redhat.com/errata/RHSA-2016:1132