Bug 841706 (CVE-2012-3421)

Summary: CVE-2012-3421 pcp: event-driven programming flaw blocks pmcd from responding to other legitimate requests
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: fche, fweimer, kenj, maurizio.antillon, mgoodwin, nathans, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcp 3.6.5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-22 16:57:07 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: 841314, 848451, 848629, 848630    
Bug Blocks: 841708    
Attachments:
Description Flags
Resolve an event-driven programming flaw in pmcd none

Description Vincent Danen 2012-07-19 22:49:09 UTC
Florian Weimer of the Red Hat Product Security Team discovered a denial of service flaw in pmcd (the PCP (Performance Co-Pilot) performance metrics collector daemon) due to incorrect event-driven programming.  Because the pduread() function in libpcp performs a select locally, waiting for more client data, an unauthenticated remote attacker could send individual bytes one by one, avoiding the timeout, and blocking pmcd in order to prevent it from responding to other legitimate requests.

Comment 2 Nathan Scott 2012-08-05 01:37:56 UTC
Created attachment 602308 [details]
Resolve an event-driven programming flaw in pmcd

This is Ken's patch to address this bug.  Have had it in my quilt series for awhile, seems to be causing fewer regressions than most of my changes. :)

Wider review would be appreciated, thanks.

Comment 3 Huzaifa S. Sidhpurwala 2012-08-16 04:13:17 UTC
Upstream patch:

http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git;a=commit;h=9ba85dca940de976176ce196fd5e3c4170936354

This issue has been addressed in pcp-3.6.5

Comment 5 Huzaifa S. Sidhpurwala 2012-08-16 04:47:53 UTC
Created pcp tracking bugs for this issue

Affects: epel-all [bug 848629]

Comment 7 Fedora Update System 2012-08-20 10:54:56 UTC
pcp-3.6.5-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-08-20 10:57:25 UTC
pcp-3.6.5-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-08-21 18:34:36 UTC
pcp-3.6.5-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-08-21 18:38:22 UTC
pcp-3.6.5-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2012-09-18 00:01:17 UTC
pcp-3.6.5-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.