Bug 1879470 (CVE-2020-14376)

Summary: CVE-2020-14376 dpdk: buffer overflow copying iv_data from guest to host (prepare_sym_cipher_op & prepare_sym_chain_op)
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 lack of bounds checking when copying iv_data from the VM guest memory into host memory can lead to a large buffer overflow. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-28 20:41:01 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: 1883275, 1910488    
Bug Blocks: 1879474    

Description Dhananjay Arunesh 2020-09-16 11:17:18 UTC
Lack of bounds checking when copying iv_data from the VM guest memory into host memory can lead to a large buffer overflow. The size and location of this overflow gives the attacker extensive control and could potentially lead to remote code execution.

Comment 7 Dave Baker 2020-09-28 15:52:30 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 8 Dave Baker 2020-09-28 15:56:52 UTC
Acknowledgments:

Name: Ryan Hall

Comment 9 Dave Baker 2020-09-28 15:56:55 UTC
External References:

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

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

Affects: fedora-all [bug 1883275]

Comment 11 Product Security DevOps Team 2020-09-28 20:41:01 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-14376