Bug 841706 (CVE-2012-3421) - CVE-2012-3421 pcp: event-driven programming flaw blocks pmcd from responding to other legitimate requests
Summary: CVE-2012-3421 pcp: event-driven programming flaw blocks pmcd from responding ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2012-3421
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 841314 848451 848629 848630
Blocks: 841708
TreeView+ depends on / blocked
 
Reported: 2012-07-19 22:49 UTC by Vincent Danen
Modified: 2019-09-29 12:54 UTC (History)
7 users (show)

Fixed In Version: pcp 3.6.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-22 16:57:07 UTC
Embargoed:


Attachments (Terms of Use)
Resolve an event-driven programming flaw in pmcd (2.44 KB, patch)
2012-08-05 01:37 UTC, Nathan Scott
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.