Bug 1895075 (CVE-2020-8036)

Summary: CVE-2020-8036 tcpdump: the tok2strbuf function was used by the SOME/IP dissector in an unsafe way
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
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: tcpdump 4.10.0rc1 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds read vulnerability was discovered in tcpdump while printing SOME/IP packets captured in a pcap file or coming from the network. This flaw allows a remote attacker to send specially crafted packets that, when printed, can trigger the flaw and crash the application. The highest threat from this vulnerability is to system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-19 17:28:32 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: 1895076    
Bug Blocks: 1895083    

Description Guilherme de Almeida Suckevicz 2020-11-05 17:06:09 UTC
The tok2strbuf() function in tcpdump 4.10.0-PRE-GIT was used by the SOME/IP dissector in an unsafe way.

Reference and upstream patch:
https://github.com/the-tcpdump-group/tcpdump/commit/e2256b4f2506102be2c6f7976f84f0d607c53d43

Comment 1 Guilherme de Almeida Suckevicz 2020-11-05 17:06:26 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1895076]

Comment 2 Mauro Matteo Cascella 2020-11-19 15:18:34 UTC
Statement:

This issue did not affect the versions of `tcpdump` as shipped with Red Hat Enterprise Linux 5, 6, 7, and 8, as they did not include support for the SOME/IP dissector.

Comment 3 Product Security DevOps Team 2020-11-19 17:28:32 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-2020-8036