Vulnerability Details : CVE-2017-12837
Heap-based buffer overflow in the S_regatom 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 cause a denial of service (out-of-bounds write) via a regular expression with a '\N{}' escape and the case-insensitive modifier.
Vulnerability category: OverflowDenial of service
Exploit prediction scoring system (EPSS) score for CVE-2017-12837
Probability of exploitation activity in the next 30 days: 1.86%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 87 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2017-12837
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST |
7.5
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2017-12837
-
The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-12837
-
https://www.oracle.com/security-alerts/cpujul2020.html
Oracle Critical Patch Update Advisory - July 2020
-
https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5
Perl 5 - perl.git/commitdiffPatch;Vendor Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1492091
1492091 – (CVE-2017-12837) CVE-2017-12837 perl: Heap buffer overflow in regular expression compilerIssue Tracking;Patch;Third Party Advisory;VDB Entry
-
https://security.netapp.com/advisory/ntap-20180426-0001/
October 2017 Perl Vulnerabilities in NetApp Products | NetApp Product Security
-
http://www.debian.org/security/2017/dsa-3982
Debian -- Security Information -- DSA-3982-1 perl
-
http://www.securityfocus.com/bid/100860
Perl CVE-2017-12837 Heap Buffer Overflow VulnerabilityThird Party Advisory;VDB Entry
-
https://rt.perl.org/Public/Bug/Display.html?id=131582
Bug #131582 for perl5: [CVE-2017-12837]Heap overflow in Perl__to_fold_latin1 when compiling case-insensitive regexp
-
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.26.1-RC1
Perl 5 - perl.git/logRelease Notes;Vendor Advisory
-
https://perl5.git.perl.org/perl.git/log/refs/tags/v5.24.3-RC1
Perl 5 - perl.git/logRelease Notes;Vendor Advisory
Products affected by CVE-2017-12837
- cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*
- cpe:2.3:a:perl:perl:5.26.0:*:*:*:*:*:*:*