Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2021-23840

Publication date 16 February 2021

Last updated 18 September 2024


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

Read the notes from the security team

Status

Package Ubuntu Release Status
edk2 24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Not affected
21.10 impish
Not affected
21.04 hirsute
Fixed 2020.11-4ubuntu0.1
20.10 groovy Ignored end of life
20.04 LTS focal
Fixed 0~20191122.bd85bf54-2ubuntu3.3
18.04 LTS bionic
Vulnerable
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty Not in release
nodejs 24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Vulnerable
21.10 impish
Not affected
21.04 hirsute
Not affected
20.10 groovy
Not affected
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
openssl 24.04 LTS noble
Fixed 1.1.1j-1ubuntu1
23.10 mantic
Fixed 1.1.1j-1ubuntu1
23.04 lunar
Fixed 1.1.1j-1ubuntu1
22.10 kinetic
Fixed 1.1.1j-1ubuntu1
22.04 LTS jammy
Fixed 1.1.1j-1ubuntu1
21.10 impish
Fixed 1.1.1j-1ubuntu1
21.04 hirsute
Fixed 1.1.1j-1ubuntu1
20.10 groovy
Fixed 1.1.1f-1ubuntu4.2
20.04 LTS focal
Fixed 1.1.1f-1ubuntu2.2
18.04 LTS bionic
Fixed 1.1.1-1ubuntu2.1~18.04.8
16.04 LTS xenial
Fixed 1.0.2g-1ubuntu4.19
14.04 LTS trusty
openssl1.0 24.04 LTS noble Not in release
23.10 mantic Not in release
23.04 lunar Not in release
22.10 kinetic Not in release
22.04 LTS jammy Not in release
21.10 impish Not in release
21.04 hirsute Not in release
20.10 groovy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic
Fixed 1.0.2n-1ubuntu5.6
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


mdeslaur

edk2 doesn't use EVP_CipherUpdate, EVP_EncryptUpdate, or EVP_DecryptUpdate, so it doesn't appear vulnerable to this issue edk2 upstream says EVP_DecryptUpdate is used by drivers

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
openssl

Severity score breakdown

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-4738-1
    • OpenSSL vulnerabilities
    • 18 February 2021
    • USN-5088-1
    • EDK II vulnerabilities
    • 23 September 2021
    • USN-7018-1
    • OpenSSL vulnerabilities
    • 18 September 2024

Other references