Bug 1035998 (CVE-2013-6410)

Summary: CVE-2013-6410 nbd: incorrect parsing of access control file in nbd-server
Product: [Other] Security Response Reporter: Ratul Gupta <ratulg>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: enslaver, i, wtogami, xjakub
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-12-12 08:33:19 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: 1035999, 1036000    
Bug Blocks:    

Description Ratul Gupta 2013-11-29 07:17:03 UTC
nbd-server has the ability to deny connection requests to clients unless their IP addresses are listed in a tcpwrappers-style configuration file.

Due to incorrect use of strncmp() in the parser for this file, however, it would allow clients to connect so long as their IP address in ASCII representation would start with something in the ACL file; e.g., 198.51.100.12 would be allowed if 198.51.100.1 was listed.

References:
http://seclists.org/oss-sec/2013/q4/366

Comment 1 Ratul Gupta 2013-11-29 07:18:29 UTC
Created nbd tracking bugs for this issue:

Affects: fedora-all [bug 1035999]
Affects: epel-6 [bug 1036000]

Comment 2 Christopher Meng 2013-11-30 13:22:43 UTC
I can't find any reference of fix/bug report. The version in the fedora is the latest.

Can you shed some lights to me?

Comment 3 Fedora Update System 2013-12-12 02:51:27 UTC
nbd-3.5-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2013-12-12 02:59:19 UTC
nbd-3.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.

Comment 5 Fedora Update System 2013-12-14 03:36:07 UTC
nbd-3.5-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.