Bug 1329106 (CVE-2015-8853)

Summary: CVE-2015-8853 perl: regexp matching hangs indefinitely on illegal UTF-8 input
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, cweyl, iarnell, jorton, jplesnik, kasal, mmaslano, perl-devel, perl-maint-list, ppisar, psabata, rc040203, rmeggins, sardella, slawomir, tcallawa
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl 5.22.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-25 11:45:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1329107    
Bug Blocks: 1329108    

Description Andrej Nemec 2016-04-21 08:41:38 UTC
A vulnerability was found in perl. The regex engine got into an infinite loop because of the malformation. It is trying to back-up over a sequence of UTF-8 continuation bytes. The character just before the sequence should be a start byte. If it's not, there is a malformation which results in "hang" of regexp matching and CPU exhaustion.

External references:

https://rt.perl.org/Public/Bug/Display.html?id=123562

Upstream fix:

http://perl5.git.perl.org/perl.git/commitdiff/22b433eff9a1ffa2454e18405a56650f07b385b5

Comment 1 Andrej Nemec 2016-04-21 08:42:07 UTC
Created perl tracking bugs for this issue:

Affects: fedora-22 [bug 1329107]

Comment 2 Stefan Cornelius 2016-04-25 11:45:30 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 3 Fedora Update System 2016-05-06 19:51:59 UTC
perl-5.20.3-330.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.