Bug 805551 (CVE-2012-1572)

Summary: CVE-2012-1572 openstack-keystone: extremely long passwords can crash Keystone
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: apevec, dprince, markmc, pbrady, rbryant, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 04:33:03 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: 807336, 807340, 807346    
Bug Blocks:    
Attachments:
Description Flags
preliminary patch to fix the flaw none

Description Vincent Danen 2012-03-21 15:02:47 UTC
A vulnerability in how Keystone handles extremely long passwords was discovered.  When Keystone is validating a password, glibc allocated space on the stack for the entire password.  If the password is long enough, stack space can be exhausted which will lead to a crash.  A remote attacker could use this to cause a crash in Keystone by submitting a long password when attempting to log into an existing account; an attacker must know an existing account name to attempt the login with for this attack to be successful.

Comment 1 Vincent Danen 2012-03-21 15:12:41 UTC
This flaw is embargoed until 20120327.

Comment 2 Vincent Danen 2012-03-21 15:18:31 UTC
Created attachment 571739 [details]
preliminary patch to fix the flaw

Comment 3 Pádraig Brady 2012-03-27 15:08:03 UTC
Hi Vincent. Distro bugs have been created and block this one.
Corresponding updates have been pushed.
I can't make this public.
Can you please?

cheers.