Bug 997767 (CVE-2013-4623)

Summary: CVE-2013-4623 polarssl: denial of service (infinite loop) when parsing certain PEM encoded certificates
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: mads
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20130606,reported=20130813,source=gentoo,cvss2=4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P,fedora-all/polarssl=affected,cwe=CWE-835[auto]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 997770    
Bug Blocks:    

Description Murray McAllister 2013-08-16 03:55:56 EDT
From the PolarSSL Security Advisory 2013-03 advisory:

"A bug in the logic of the parsing of PEM encoded certificates in x509parse_crt() can result in an infinite loop, thus hogging processing power."

A remote attacker could use this flaw to make a TLS/SSL server using PolarSSL consume an excessive amount of CPU.

This issue was corrected in PolarSSL versions 1.1.7 and 1.2.8. (Versions prior to these are affected.)

External References:

https://polarssl.org/tech-updates/security-advisories/polarssl-security-advisory-2013-03
Comment 1 Murray McAllister 2013-08-16 03:59:00 EDT
Created polarssl tracking bugs for this issue:

Affects: fedora-all [bug 997770]
Comment 2 Murray McAllister 2013-08-16 04:03:44 EDT
The patch included in the upstream advisory looks to be this commit:

https://github.com/polarssl/polarssl/commit/1922a4e6aade7b1d685af19d4d9339ddb5c02859
Comment 3 Fedora Update System 2013-09-20 12:26:17 EDT
polarssl-1.2.8-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2013-09-20 12:27:29 EDT
polarssl-1.2.8-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2013-09-22 20:13:16 EDT
polarssl-1.2.8-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.