CVE-2017-16231
In PCRE 8.41, after compiling, a pcretest load test PoC produces a crash overflow in the function match() in pcre_exec.c because of a self-recursive call. NOTE: third parties dispute the relevance of this report, noting that there are options that can be used to limit the amount of stack that is used
What to do
Fixed builds are available from Alpine: 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 20.04 | pcre3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | pcre3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | pcre3 | Not affected vulnerable_code_not_present | ||
| Debian 12 | pcre3 | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-16231 | |
| Red Hat Enterprise Linux 8 | mingw32-pcre | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw32-pcre-static | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-pcre | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-pcre-static | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre-cpp | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre-static | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre-utf16 | Not affected | ||
| Red Hat Enterprise Linux 8 | pcre-utf32 | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2 | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2-fam | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2-static | Not affected | ||
| Red Hat Enterprise Linux 7 | glib2-tests | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-static | Not affected | ||
| Red Hat Enterprise Linux 7 | pcre-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | virtuoso-opensource | Not affected | ||
| Red Hat Enterprise Linux 7 | virtuoso-opensource-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | chromium-browser | Not affected | ||
| Red Hat Enterprise Linux 6 | firefox | Not affected | ||
| Red Hat Enterprise Linux 6 | glib2 | Not affected | ||
| Red Hat Enterprise Linux 6 | glib2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | glib2-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | glib2-static | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | pcre-static | Not affected | ||
| Red Hat Enterprise Linux 6 | thunderbird | Not affected | ||
| Red Hat Enterprise Linux 5 | pcre | Not affected | ||
| Alpine Linux 3.24 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.24 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.23 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.23 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.22 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.22 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.21 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.21 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.20 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.20 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.19 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.19 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.18 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.18 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.17 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.17 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.16 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.16 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.15 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.15 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.14 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.14 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.13 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.13 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.12 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.12 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.11 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.11 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.10 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.10 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.9 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.9 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.8 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.8 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.7 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.7 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.6 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.6 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.5 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.5 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.4 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.4 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.3 | pcre | Fixed | 7.8-r0 | ALPINE-CVE-2017-16231 |
| Alpine Linux 3.3 | tiff | Fixed | 4.0.9-r0 | ALPINE-CVE-2017-16231 |
References
- http://packetstormsecurity.com/files/150897/PCRE-8.41-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2018/Dec/33
- http://www.openwall.com/lists/oss-security/2017/11/01/11
- http://www.openwall.com/lists/oss-security/2017/11/01/3
- http://www.openwall.com/lists/oss-security/2017/11/01/7
- http://www.openwall.com/lists/oss-security/2017/11/01/8
- http://www.securityfocus.com/bid/101688
- https://bugs.exim.org/show_bug.cgi?id=2047
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.