CVE-2017-12883
published 2017-09-19CVE-2017-12883: 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…
PriorityP344critical9.1CVSS 3.0
AVNACLPRNUINSUCHINAH
EPSS
5.91%
92.4th percentile
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
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | perl | < perl 5.26.0-8 (bookworm) | perl 5.26.0-8 (bookworm) |
| perl | perl | <= 5.24.2 | — |
| perl | perl | — | — |
| perl | perl | >= 0 < 5.26.0-8 | 5.26.0-8 |
| perl | perl | >= 0 < 5.26.0-8 | 5.26.0-8 |
| perl | perl | >= 0 < 5.26.0-8 | 5.26.0-8 |
| perl | perl | >= 0 < 5.26.0-8 | 5.26.0-8 |
| perl | perl | >= 0 < 5.18.2-2ubuntu1.3 | 5.18.2-2ubuntu1.3 |
| perl | perl | >= 0 < 5.22.1-9ubuntu0.2 | 5.22.1-9ubuntu0.2 |
CVSS provenance
nvdv3.09.1CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv9.1CRITICAL
vendor_debian9.1CRITICAL
vendor_redhat9.1CRITICAL
vendor_ubuntu9.1CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Perl vulnerability
vendor_ubuntu·2017-11-13·CVSS 9.1
CVE-2017-12883 [CRITICAL] Perl vulnerability
Title: Perl vulnerability
Summary: Perl could be made to crash if it received specially crafted
input.
USN-3478-1 fixed two vulnerabilities in Perl. This update
provides the corresponding update for Ubuntu 12.04 ESM.
Original advisory details:
Jakub Wilk discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-12883)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Perl vulnerabilities
vendor_ubuntu·2017-11-13·CVSS 7.5
CVE-2017-12837 [HIGH] Perl vulnerabilities
Title: Perl vulnerabilities
Summary: Perl could be made to crash if it received specially crafted
input.
Jakub Wilk discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-12837, CVE-2017-12883)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
perl: Buffer over-read in regular expression parser
vendor_redhat·2017-09-12·CVSS 9.1
CVE-2017-12883 [CRITICAL] CWE-125 perl: Buffer over-read in regular expression parser
perl: Buffer over-read in regular expression parser
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.
A heap buffer overread was found in perl's grok_bslash_N() function, which is used in the compilation of Unicode nodes in regular expressions, possibly leading to crash or dump of memory segments via the error output. An attacker, able to provide a specially crafted regular expression, could look for sensible information in the error message, or crash perl.
Statement: Perl as shipped in Red Hat Enterprise Linux 7 and older have not been found to b
Debian
CVE-2017-12883: perl - Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5....
vendor_debian·2017·CVSS 9.1
CVE-2017-12883 [CRITICAL] CVE-2017-12883: perl - Buffer overflow in the S_grok_bslash_N function in regcomp.c in Perl 5 before 5....
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.
Scope: local
bookworm: resolved (fixed in 5.26.0-8)
bullseye: resolved (fixed in 5.26.0-8)
forky: resolved (fixed in 5.26.0-8)
sid: resolved (fixed in 5.26.0-8)
trixie: resolved (fixed in 5.26.0-8)
GHSA
GHSA-h435-qr7v-xh34: Buffer overflow in the S_grok_bslash_N function in regcomp
ghsa_unreviewed·2022-05-13
CVE-2017-12883 [CRITICAL] CWE-119 GHSA-h435-qr7v-xh34: Buffer overflow in the S_grok_bslash_N function in regcomp
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.
OSV
perl vulnerabilities
osv·2017-11-13·CVSS 7.5
CVE-2017-12837 [HIGH] perl vulnerabilities
perl vulnerabilities
Jakub Wilk discovered that Perl incorrectly handled certain regular
expressions. An attacker could use this issue to cause Perl to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2017-12837, CVE-2017-12883)
OSV
CVE-2017-12883: Buffer overflow in the S_grok_bslash_N function in regcomp
osv·2017-09-19·CVSS 9.1
CVE-2017-12883 [CRITICAL] CVE-2017-12883: Buffer overflow in the S_grok_bslash_N function in regcomp
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-12883 perl: Buffer over-read in regular expression parser
bugzilla·2017-09-15·CVSS 9.1
CVE-2017-12883 [CRITICAL] CVE-2017-12883 perl: Buffer over-read in regular expression parser
CVE-2017-12883 perl: Buffer over-read in regular expression parser
For certain types of syntax error in a regular expression pattern, the error message could either contain the contents of a random, possibly large, chunk of memory, or could crash perl.
Upstream patch:
https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f
Bug report :
https://rt.perl.org/Public/Bug/Display.html?id=131598
Discussion:
Created perl tracking bugs for this issue:
Affects: fedora-all [bug 1492094]
---
Statement:
Perl as shipped in Red Hat Enterprise Linux 7 and older have not been found to be vulnerable. This vulnerability was not present in perl versions older than 5.20.
---
perl-5.26.1-401.fc27 has been pushed to the Fedora 27 stable repository. If problems still p
Bugzilla
CVE-2017-12837 CVE-2017-12883 perl: various flaws [fedora-all]
bugzilla·2017-09-15·CVSS 7.5
CVE-2017-12837 [HIGH] CVE-2017-12837 CVE-2017-12883 perl: various flaws [fedora-all]
CVE-2017-12837 CVE-2017-12883 perl: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. Whi
http://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patchhttp://www.debian.org/security/2017/dsa-3982http://www.securityfocus.com/bid/100852https://bugzilla.redhat.com/show_bug.cgi?id=1492093https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1https://rt.perl.org/Public/Bug/Display.html?id=131598https://security.netapp.com/advisory/ntap-20180426-0001/https://www.oracle.com/security-alerts/cpujul2020.htmlhttp://mirror.cucumberlinux.com/cucumber/cucumber-1.0/source/lang-base/perl/patches/CVE-2017-12883.patchhttp://www.debian.org/security/2017/dsa-3982http://www.securityfocus.com/bid/100852https://bugzilla.redhat.com/show_bug.cgi?id=1492093https://perl5.git.perl.org/perl.git/commitdiff/2be4edede4ae226e2eebd4eff28cedd2041f300f#patch1https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1https://rt.perl.org/Public/Bug/Display.html?id=131598https://security.netapp.com/advisory/ntap-20180426-0001/https://www.oracle.com/security-alerts/cpujul2020.html
2017-09-19
Published