Bug 566717 (CVE-2012-3417)

Summary: CVE-2012-3417 quota: incorrect use of tcp_wrappers
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: kreilly, ovasik, rvokal
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-01-08 08:59:13 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: 566718, 841448    
Bug Blocks: 816611    
Attachments:
Description Flags
Upstream fix ported to quota 3.13 none

Description Tomas Hoger 2010-02-19 14:24:57 UTC
quota's good_client() (quota-tools/rquota_svc.c) seems to be based on good_client() used by nfs-utils and portmap and is affected by similar problems as described here:

  https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2008-4552#c8

With certain hosts.{allow,deny} rules, expected host access control restrictions may not be applied correctly.  The problem does not affect configurations that has deny:ALL and only allow access for specific hosts / networks.

The issue was reported and fixed upstream:
http://sourceforge.net/tracker/?func=detail&aid=2743481&group_id=18136&atid=118136
http://linuxquota.cvs.sourceforge.net/viewvc/linuxquota/quota-tools/rquota_svc.c#rev1.21

Comment 4 Kurt Seifried 2012-07-19 16:48:12 UTC
Added CVE as per http://www.openwall.com/lists/oss-security/2012/07/19/5

Comment 5 Petr Pisar 2012-07-31 11:20:27 UTC
Created attachment 601505 [details]
Upstream fix ported to quota 3.13

Comment 6 Murray McAllister 2012-11-18 09:52:38 UTC
Acknowledgements:

This issue was discovered by the Red Hat Security Response Team.

Comment 7 errata-xmlrpc 2013-01-08 04:55:26 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0120 https://rhn.redhat.com/errata/RHSA-2013-0120.html