Bug 1879472 (CVE-2020-14377)

Summary: CVE-2020-14377 dpdk: write_back_data buffer over read (cipher->para.dst_data_len & desc->len)
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aconole, apevec, chrisw, ctrautma, dblechte, dfediuck, eedri, fleitner, hvyas, jhsiao, linville, mburns, mgoldboi, michal.skrivanek, nhorman, ovs-qe, ovs-team, ralongi, rkhan, sbonazzo, security-response-team, sherold, tredaelli, yturgema
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: dpdk 18.11.10, dpdk 19.11.5 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in dpdk. A complete lack of validation of attacker-controlled parameters can lead to a buffer over read. The results of the over read are then written back to the guest virtual machine memory. This vulnerability can be used by an attacker in a virtual machine to read significant amounts of host memory. The highest threat from this vulnerability is to data confidentiality and system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-28 20:41:06 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: 1883276, 1910487    
Bug Blocks: 1879474    

Description Dhananjay Arunesh 2020-09-16 11:20:55 UTC
Complete lack of validation of attacker-controlled parameters leads to a buffer over read. The results of the over read are written back to the guest virtual machine=E2=80=99s memory. This vulnerability can be used by an attacker in a virtual machine to read significant amounts of host memory. This vulnerability can be chained with finding number 1 to read arbitrary amounts of data from any address in the vhost_crypto process.

Comment 8 Dave Baker 2020-09-28 15:52:31 UTC
Statement:

This flaw does not affect the versions of `dpdk` as shipped with Red Hat Enterprise Linux 7 and 8 or the versions embedded in Red Hat Virtualization or the Fast Datapath `openvswitch` package, as they do not enable generic crypto device library support. This causes the vulnerable code in vhost_crypto.c to not be included.

This flaw does not affect Red Hat Ceph Storage 3 and 4 as dpdk (embedded in ceph source rpm) is not built in the packages, therefore the vulnerable code is not available in the resulting RPM and the issue cannot be exploited.

Comment 9 Dave Baker 2020-09-28 15:56:54 UTC
Acknowledgments:

Name: Ryan Hall

Comment 10 Dave Baker 2020-09-28 15:56:57 UTC
External References:

https://www.openwall.com/lists/oss-security/2020/09/28/3

Comment 11 Dave Baker 2020-09-28 15:57:25 UTC
Created dpdk tracking bugs for this issue:

Affects: fedora-all [bug 1883276]

Comment 12 Product Security DevOps Team 2020-09-28 20:41:06 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-14377