Bug 1729958 - qemu: long interface names in qemu-bridge-helper leading to ACL bypass
Summary: qemu: long interface names in qemu-bridge-helper leading to ACL bypass
Keywords:
Status: CLOSED DUPLICATE of bug 1722559
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1729960 1729959
Blocks: 1729962
TreeView+ depends on / blocked
 
Reported: 2019-07-15 12:27 UTC by Marian Rehak
Modified: 2020-04-28 17:53 UTC (History)
37 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-17 15:27:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2019-07-15 12:27:06 UTC
The network interface name in Linux is defined to be of size IFNAMSIZ(=16), including the terminating null('\0') byte. The same is applied to interface names read from 'bridge.conf' file to form ACL rules. If user supplied '--br=bridge' name is not restricted to the same length, it could lead to ACL bypass issue. Restrict interface name to IFNAMSIZ, including null byte.

Upstream Issue:

https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg00245.html

Comment 1 Marian Rehak 2019-07-15 12:27:28 UTC
Created qemu tracking bugs for this issue:

Affects: epel-7 [bug 1729960]
Affects: fedora-all [bug 1729959]

Comment 2 Salvatore Bonaccorso 2019-07-16 07:08:05 UTC
Hi

I think the CVE id ist a typo and it should be CVE-2019-13164? The later is already mentioned in https://www.openwall.com/lists/oss-security/2019/07/02/2 and refers to https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg00245.html.

Regards,
Salvatore

Comment 3 Salvatore Bonaccorso 2019-07-16 07:09:28 UTC
(In reply to Salvatore Bonaccorso from comment #2)
> Hi
> 
> I think the CVE id ist a typo and it should be CVE-2019-13164? The later is
> already mentioned in
> https://www.openwall.com/lists/oss-security/2019/07/02/2 and refers to
> https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg00245.html.

Respective Red Hat Bugzilla entry is at: 
https://bugzilla.redhat.com/show_bug.cgi?id=1722559

Regards,
Salvatore

Comment 4 Yogendra Jog 2019-07-17 15:20:46 UTC
Hi Salvatore, 

Setting correct needinfo, so that one of analyst working on this can review and reply.

Regards
YOG.

Comment 5 Riccardo Schirone 2019-07-17 15:27:18 UTC
Hi,

I've just removed the CVE-2019-13164 alias from this bug as it was incorrectly assigned. There was a typo on a debian communication, which led to the creation of this wrong bug.

The right CVE is CVE-2019-13164.
Hope this helps.

Comment 6 Riccardo Schirone 2019-07-17 15:45:22 UTC

*** This bug has been marked as a duplicate of bug 1722559 ***


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