Stack-based buffer overflow - CVE-2015-3217
Published: December 13, 2016 / Updated: August 4, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error when processing a crafted regular expression, as demonstrated by /^(?:(?(1)\.|([^\\W_])?)+)+$/. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server from RHUI
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - Extended Update Support
pcre (Alpine package)
pcre (Red Hat package)
Flex System Chassis Management Module (CMM)
How to mitigate CVE-2015-3217
Flex System Chassis Management Module (CMM) - update to 2pet16c-2.5.12c
pcre (Red Hat package) - update to 8.32-15.el7_2.1
External References
- http://rhn.redhat.com/errata/RHSA-2016-1025.html
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://vcs.pcre.org/pcre?view=revision&revision=1566
- http://www.openwall.com/lists/oss-security/2015/06/03/7
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://www.securityfocus.com/bid/75018
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1023886
- https://access.redhat.com/errata/RHSA-2016:1132
- https://bugs.exim.org/show_bug.cgi?id=1638
- https://bugzilla.redhat.com/show_bug.cgi?id=1228283