Bug 841314
Summary: | pcp: malicious client can stop all pmcd server activity | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> | ||||||
Component: | pcp | Assignee: | Mark Goodwin <mgoodwin> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 16 | CC: | fche, kenj, mgoodwin, nathans, security-response-team | ||||||
Target Milestone: | --- | Keywords: | Security | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | pcp-3.6.5 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-08-20 04:05:25 UTC | Type: | Bug | ||||||
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: | |||||||||
Bug Blocks: | 840765, 841706 | ||||||||
Attachments: |
|
Description
Florian Weimer
2012-07-18 16:25:01 UTC
Created attachment 602593 [details]
Resolve an event-driven programming flaw in pmcd
Attached is Ken McDonells fix for this. I was a little confused by 841706 which I think is another bug for the same issue, and attached it there late last week.
Here it is again anyway.
(In reply to comment #2) > Created attachment 602593 [details] > Resolve an event-driven programming flaw in pmcd > > Attached is Ken McDonells fix for this. I think dead_hand.tv_usec needs to be adjusted in the if branch, so that it does not exceed 1000000. The comparison needs to be >=, not >. gettimeofday(&dead_hand, NULL); dead_hand.tv_sec += wait.tv_sec; dead_hand.tv_usec += wait.tv_usec; if (dead_hand.tv_usec > 1000000) dead_hand.tv_sec++; Perhaps a comment should be added that this is just a stop-gap measure and that the real fix is more involved. Created attachment 602904 [details]
Updated version of pmcd event-driven programming flaw patch
Incorporate Florian's review comments.
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 This issue was addressed in Fedora and EPEL via the following security updates: Fedora-16: https://admin.fedoraproject.org/updates/pcp-3.6.5-1.fc16 Fedora-17: https://admin.fedoraproject.org/updates/pcp-3.6.5-1.fc17 Rawhide: https://admin.fedoraproject.org/updates/pcp-3.6.5-1.fc18 EPEL-5: https://admin.fedoraproject.org/updates/pcp-3.6.5-1.el5 EPEL-6: https://admin.fedoraproject.org/updates/pcp-3.6.5-1.el6 |