CVE-2015-8391
pcre: inefficient posix character class syntax check (8.38/16)
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Amazon (high), Oracle (high), Red Hat (medium), Ubuntu (low).
Description
The pcre_compile function in pcre_compile.c in PCRE before 8.38 mishandles certain [: nesting, which allows remote attackers to cause a denial of service (CPU consumption) or possibly have unspecified other impact via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | pcre, pcre-debuginfo, pcre-devel and 2 more | 8.21-7.8.amzn1 |
| debian 11 | pcre3 | 2:8.38-1 |
| debian 12 | pcre3 | 2:8.38-1 |
| debian 7 | pcre3 | no fix listed |
| debian 8 | pcre3 | 2:8.35-3.3+deb8u2 |
| echo | pcre3 | 2:8.38-1 |
| Oracle Linux 7 | pcre, pcre-devel, pcre-static and 1 more | 8.32-15.el7_2.1 |
| Red Hat | glib2, glib2-devel, glib2-doc and 3 more | no fix listed |
| seal Red Hat 6 | glib2, pcre, seal-glib2 and 1 more | 2.28.8-11.el6_10+sp999 and 1 more |
| seal Red Hat 7 | glib2, seal-glib2 | 2.56.1-7.el7+sp999 |
| ubuntu 14.04 | pcre3 | 1:8.31-2ubuntu2.2 |
| ubuntu 14.04-ESM | pcre3 | 1:8.31-2ubuntu2.2 |
Show all 29 entries from 13 sources
| Source | Package | Fixed in |
|---|---|---|
| amazon linux 1 | pcre | 8.21-7.8.amzn1 |
| amazon linux 1 | pcre-debuginfo | 8.21-7.8.amzn1 |
| amazon linux 1 | pcre-devel | 8.21-7.8.amzn1 |
| amazon linux 1 | pcre-static | 8.21-7.8.amzn1 |
| amazon linux 1 | pcre-tools | 8.21-7.8.amzn1 |
| debian 11 | pcre3 | 2:8.38-1 |
| debian 12 | pcre3 | 2:8.38-1 |
| debian 7 | pcre3 | no fix listed |
| debian 8 | pcre3 | 2:8.35-3.3+deb8u2 |
| echo | pcre3 | 2:8.38-1 |
| Oracle Linux 7 | pcre | 8.32-15.el7_2.1 |
| Oracle Linux 7 | pcre-devel | 8.32-15.el7_2.1 |
| Oracle Linux 7 | pcre-static | 8.32-15.el7_2.1 |
| Oracle Linux 7 | pcre-tools | 8.32-15.el7_2.1 |
| Red Hat | glib2 | no fix listed |
| Red Hat | glib2-devel | no fix listed |
| Red Hat | glib2-doc | no fix listed |
| Red Hat | glib2-fam | no fix listed |
| Red Hat | glib2-static | no fix listed |
| Red Hat | glib2-tests | no fix listed |
| seal Red Hat 6 | glib2 | 2.28.8-11.el6_10+sp999 |
| seal Red Hat 6 | pcre | 7.8-7.el6+sp999 |
| seal Red Hat 6 | seal-glib2 | 2.28.8-11.el6_10+sp999 |
| seal Red Hat 6 | seal-pcre | 7.8-7.el6+sp999 |
| seal Red Hat 7 | glib2 | 2.56.1-7.el7+sp999 |
| seal Red Hat 7 | seal-glib2 | 2.56.1-7.el7+sp999 |
| ubuntu 14.04 | pcre3 | 1:8.31-2ubuntu2.2 |
| ubuntu 14.04-ESM | pcre3 | 1:8.31-2ubuntu2.2 |
| ubuntu 15.10 | pcre3 | 2:8.35-7.1ubuntu1.3 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/174931.html
- http://rhn.redhat.com/errata/RHSA-2016-1025.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- http://www.openwall.com/lists/oss-security/2015/11/29/1
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.securityfocus.com/bid/82990
All 19 references
- https://access.redhat.com/errata/RHSA-2016:1132
- https://access.redhat.com/security/cve/CVE-2015-8391
- https://bto.bluecoat.com/security-advisory/sa128
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- https://linux.oracle.com/cve/CVE-2015-8391.html
- https://linux.oracle.com/errata/ELSA-2016-1025.html
- https://nvd.nist.gov/vuln/detail/CVE-2015-8391
- https://security.gentoo.org/glsa/201607-02
- https://security.netapp.com/advisory/ntap-20230216-0002/
- https://ubuntu.com/security/notices/USN-2943-1
- https://www.cve.org/CVERecord?id=CVE-2015-8391