Bug 1760445 (CVE-2018-16300) - CVE-2018-16300 tcpdump: Resource exhaustion in bgp_attr_print() function in print-bgp.c
Summary: CVE-2018-16300 tcpdump: Resource exhaustion in bgp_attr_print() function in p...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-16300
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: 1760626 1791699 1791700
Blocks: 1760628
TreeView+ depends on / blocked
 
Reported: 2019-10-10 14:51 UTC by Pedro Sampaio
Modified: 2020-11-04 03:40 UTC (History)
6 users (show)

Fixed In Version: tcpdump 4.9.3
Doc Type: If docs needed, set a value
Doc Text:
An uncontrolled resource consumption flaw was discovered in the way tcpdump prints BGP packets. The BGP protocol allows ATTR_SET to be nested as many times as the message can accommodate, however when a specially crafted packet is crafted and parsed by tcpdump, this may lead to stack exhaustion due to uncontrolled recursion. System availability is the highest threat from this vulnerability.
Clone Of:
Environment:
Last Closed: 2020-11-04 02:21:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4760 0 None None None 2020-11-04 03:40:26 UTC

Description Pedro Sampaio 2019-10-10 14:51:17 UTC
The BGP parser in tcpdump before 4.9.3 allows stack consumption in print-bgp.c:bgp_attr_print() because of unlimited recursion.

Upstream patch:

https://github.com/the-tcpdump-group/tcpdump/commit/af2cf04a9394c1a56227c2289ae8da262828294a

References:

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

Comment 1 Pedro Sampaio 2019-10-11 00:02:32 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1760626]

Comment 3 Product Security DevOps Team 2020-11-04 02:21:49 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-2018-16300

Comment 4 errata-xmlrpc 2020-11-04 03:40:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4760 https://access.redhat.com/errata/RHSA-2020:4760


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