Bug 1760623 (CVE-2019-15161)

Summary: CVE-2019-15161 libpcap: Mishandled length values in reused variables
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: luhliari, mruprich, msehnout, msekleta, thozza
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libpcap 1.9.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-16 20:09:41 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: 1760624    
Bug Blocks: 1760627    

Description Pedro Sampaio 2019-10-10 23:54:47 UTC
rpcapd/daemon.c in libpcap before 1.9.1 mishandles certain length values because of reuse of a variable. This may open up an attack vector involving extra data at the end of a request.

Upstream patch:

https://github.com/the-tcpdump-group/libpcap/commit/617b12c0339db4891d117b661982126c495439ea

References:

https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.9/CHANGES

Comment 1 Pedro Sampaio 2019-10-10 23:58:19 UTC
Created libpcap tracking bugs for this issue:

Affects: fedora-all [bug 1760624]

Comment 2 Riccardo Schirone 2020-01-16 16:35:44 UTC
RPCAPD support added in tcpdump 1.9.0 (see https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.9/CHANGES#L74).
RHEL 6 and 7 ship an older version of libpcap that does not even have the vulnerable file.
RHEL 8 ships a newer version, however it is not compiled with RPCAPD support (--enable-remote is not specified).

Comment 3 Riccardo Schirone 2020-01-16 16:35:46 UTC
Statement:

This issue did not affect the versions of libpcap as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they did not include support for RPCAPD.

Comment 4 Product Security DevOps Team 2020-01-16 20:09:41 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-15161