Bug 1760623 (CVE-2019-15161) - CVE-2019-15161 libpcap: Mishandled length values in reused variables
Summary: CVE-2019-15161 libpcap: Mishandled length values in reused variables
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-15161
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1760624
Blocks: 1760627
TreeView+ depends on / blocked
 
Reported: 2019-10-10 23:54 UTC by Pedro Sampaio
Modified: 2021-02-16 21:16 UTC (History)
5 users (show)

Fixed In Version: libpcap 1.9.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-16 20:09:41 UTC
Embargoed:


Attachments (Terms of Use)

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


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