CVE-2020-10724: Integer Overflow
A vulnerability was found in DPDK through version 18.11, The vhost crypto library code contains a post message handler (vhostcryptomsgposthandler) which calls vhostcryptocreatesess() which in turn calls transformcipherparam() depending on the operation type. It is transformcipherparam() that handles the payload data. The payload contains a cipher key length and a static VHOSTUSERCRYPTOMAXCIPHERKEYLENGTH (64) byte key buffer. When transformcipherparam() handles the payload data it does not check to see if the buffer length doesn't exceed VHOSTUSERCRYPTOMAXCIPHERKEYLENGTH. This missing check can cause out of bound reads which could trigger a crash or a potential information leak. Also, the vhost crypto library code contains a post message handler (vhostcryptomsgposthandler) which calls vhostcryptocreatesess() which in turn calls transformchainparam() depending on the operation type. It is transformchainparam() that handles the payload data. The payload contains a cipher key length and a static VHOSTUSERCRYPTOMAXCIPHERKEYLENGTH (64) byte key buffer, it also contains a digest length and a static authentication key buffer (size: VHOSTUSERCRYPTOMAXHMACKEYLENGTH(512)) and authentication key buffer length. None of these length values are validated. Which can lead to reading out of bound.
Other sources
A vulnerability was found in DPDK versions 18.11 and above
— Microsoft
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the vulnerability ID for this DPDK vulnerability?
The vulnerability ID for this DPDK vulnerability is CVE-2020-10724.
What is the severity of CVE-2020-10724?
The severity of CVE-2020-10724 is medium, with a severity value of 5.1.
Which versions of DPDK are affected by this vulnerability?
DPDK versions 18.11 and above are affected by this vulnerability.
How can I fix CVE-2020-10724?
To fix CVE-2020-10724, you need to update DPDK to version 20.02.1, 19.11.2, or 18.11.8.
Are there any references for CVE-2020-10724?
Yes, you can find references for CVE-2020-10724 at the following links: [link1](https://www.openwall.com/lists/oss-security/2020/05/18/2), [link2](https://bugs.dpdk.org/show_bug.cgi?id=269), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1837057).