CVE-2017-12883
perl: Buffer over-read in regular expression parser
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).
Description
Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5.24.3-RC1 and 5.26.x before 5.26.1-RC1 allows remote attackers to disclose sensitive information or cause a denial of service (application crash) via a crafted regular expression with an invalid '\N{U+...}' escape.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | perl | 5.22.1-5.ph1 |
| Photon OS 2.0 | perl | 5.24.1-4.ph2 |
| alpine 3.10 | perl | 5.26.1-r0 |
| alpine 3.11 | perl | 5.26.1-r0 |
| alpine 3.12 | perl | 5.26.1-r0 |
| alpine 3.13 | perl | 5.26.1-r0 |
| alpine 3.14 | perl | 5.26.1-r0 |
| alpine 3.15 | perl | 5.26.1-r0 |
| alpine 3.16 | perl | 5.26.1-r0 |
| alpine 3.17 | perl | 5.26.1-r0 |
| alpine 3.18 | perl | 5.26.1-r0 |
| alpine 3.19 | perl | 5.26.1-r0 |
Show all 68 entries from 40 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 1.0 | perl | 5.22.1-5.ph1 |
| Photon OS 2.0 | perl | 5.24.1-4.ph2 |
| alpine 3.10 | perl | 5.26.1-r0 |
| alpine 3.11 | perl | 5.26.1-r0 |
| alpine 3.12 | perl | 5.26.1-r0 |
| alpine 3.13 | perl | 5.26.1-r0 |
| alpine 3.14 | perl | 5.26.1-r0 |
| alpine 3.15 | perl | 5.26.1-r0 |
| alpine 3.16 | perl | 5.26.1-r0 |
| alpine 3.17 | perl | 5.26.1-r0 |
| alpine 3.18 | perl | 5.26.1-r0 |
| alpine 3.19 | perl | 5.26.1-r0 |
| alpine 3.20 | perl | 5.26.1-r0 |
| alpine 3.21 | perl | 5.26.1-r0 |
| alpine 3.22 | perl | 5.26.1-r0 |
| alpine 3.23 | perl | 5.26.1-r0 |
| alpine 3.24 | perl | 5.26.1-r0 |
| alpine 3.3 | perl | 5.22.3-r0 |
| alpine 3.4 | perl | 5.22.3-r0 |
| alpine 3.5 | perl | 5.24.3-r0 |
| alpine 3.6 | perl | 5.24.3-r0 |
| alpine 3.7 | perl | 5.26.1-r0 |
| alpine 3.8 | perl | 5.26.1-r0 |
| alpine 3.9 | perl | 5.26.1-r0 |
| alpine edge | perl | 5.26.1-r0 |
| debian 11 | perl | 5.26.0-8 |
| debian 12 | perl | 5.26.0-8 |
| debian 13 | perl | 5.26.0-8 |
| debian 14 | perl | 5.26.0-8 |
| debian 8 | perl | 5.20.2-3+deb8u9 |
| debian 9 | perl | 5.24.1-3+deb9u2 |
| echo | perl | 5.26.0-8 |
| Red Hat | rh-perl524-perl | no fix listed |
| Red Hat | rh-perl524-perl-Attribute-Handlers | no fix listed |
| Red Hat | rh-perl524-perl-Devel-Peek | no fix listed |
| Red Hat | rh-perl524-perl-Devel-SelfStubber | no fix listed |
| Red Hat | rh-perl524-perl-Errno | no fix listed |
| Red Hat | rh-perl524-perl-ExtUtils-Embed | no fix listed |
| Red Hat | rh-perl524-perl-ExtUtils-Miniperl | no fix listed |
| Red Hat | rh-perl524-perl-IO | no fix listed |
| Red Hat | rh-perl524-perl-IO-Zlib | no fix listed |
| Red Hat | rh-perl524-perl-Locale-Maketext-Simple | no fix listed |
| Red Hat | rh-perl524-perl-Math-BigInt-FastCalc | no fix listed |
| Red Hat | rh-perl524-perl-Math-BigRat | no fix listed |
| Red Hat | rh-perl524-perl-Math-Complex | no fix listed |
| Red Hat | rh-perl524-perl-Memoize | no fix listed |
| Red Hat | rh-perl524-perl-Module-Loaded | no fix listed |
| Red Hat | rh-perl524-perl-Net-Ping | no fix listed |
| Red Hat | rh-perl524-perl-Pod-Html | no fix listed |
| Red Hat | rh-perl524-perl-SelfLoader | no fix listed |
| Red Hat | rh-perl524-perl-Test | no fix listed |
| Red Hat | rh-perl524-perl-Time-Piece | no fix listed |
| Red Hat | rh-perl524-perl-bignum | no fix listed |
| Red Hat | rh-perl524-perl-core | no fix listed |
| Red Hat | rh-perl524-perl-devel | no fix listed |
| Red Hat | rh-perl524-perl-libnetcfg | no fix listed |
| Red Hat | rh-perl524-perl-libs | no fix listed |
| Red Hat | rh-perl524-perl-macros | no fix listed |
| Red Hat | rh-perl524-perl-open | no fix listed |
| Red Hat | rh-perl524-perl-tests | no fix listed |
| Red Hat | rh-perl524-perl-utils | no fix listed |
| root.io debian 11 | rootio-perl | 5.26.0-8 |
| root.io debian 12 | rootio-perl | 5.26.0-8 |
| ubuntu 14.04 | perl | 5.18.2-2ubuntu1.3 |
| ubuntu 14.04-ESM | perl | 5.18.2-2ubuntu1.3 |
| ubuntu 16.04 | perl | 5.22.1-9ubuntu0.2 |
| ubuntu 16.04-ESM | perl | 5.22.1-9ubuntu0.2 |
| ubuntu 17.04 | perl | 5.24.1-2ubuntu1.1 |
References
- http://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patch
- http://www.debian.org/security/2017/dsa-3982
- http://www.securityfocus.com/bid/100852
- https://access.redhat.com/security/cve/CVE-2017-12883
- https://bugzilla.redhat.com/show_bug.cgi?id=1492093
- https://nvd.nist.gov/vuln/detail/CVE-2017-12883
- https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1
- https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1
All 15 references
- https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1
- https://rt.perl.org/Public/Bug/Display.html?id=131598
- https://security.netapp.com/advisory/ntap-20180426-0001/
- https://ubuntu.com/security/notices/USN-3478-1
- https://ubuntu.com/security/notices/USN-3478-2
- https://www.cve.org/CVERecord?id=CVE-2017-12883
- https://www.oracle.com/security-alerts/cpujul2020.html