CVE-2015-8382
The match function in pcre_exec.c in PCRE before 8.37 mishandles the /(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/ pattern and related patterns involving (*ACCEPT), which allows remote attackers to obtain sensitive information from process memory or cause a denial of service (partially initialized memory and application crash) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-2547.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | pcre2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | pcre3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | pcre3 | Fixed | 1:8.31-2ubuntu2.2 | UBUNTU-CVE-2015-8382 |
| Debian 12 | pcre3 | Fixed | 2:8.35-7.2 | DEBIAN-CVE-2015-8382 |
| Red Hat Enterprise Linux 7 | pcre | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | pcre-tools | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | pcre-static | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | pcre | Will not fix Will not fix |
References
- http://www.openwall.com/lists/oss-security/2015/11/29/1
- https://bugzilla.redhat.com/show_bug.cgi?id=1187225
- http://www.securityfocus.com/bid/76157
- http://www.openwall.com/lists/oss-security/2015/08/04/3
- https://bugs.exim.org/show_bug.cgi?id=1537
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=c351b47ce85a3a147cfa801fa9f0149ab4160834
- https://bto.bluecoat.com/security-advisory/sa128
- http://vcs.pcre.org/pcre/code/trunk/ChangeLog?view=markup
- http://vcs.pcre.org/pcre/code/trunk/pcre_exec.c?r1=1502&r2=1510
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.