Debian Security Advisory
DLA-2565-1 openssl1.0 -- LTS security update
- Date Reported:
- 18 Feb 2021
- Affected Packages:
- openssl1.0
- Vulnerable:
- Yes
- Security database references:
- In Mitre's CVE dictionary: CVE-2021-23840, CVE-2021-23841.
- More information:
-
It was discovered that there were two issues in the 1.0 branch of the OpenSSL cryptographic system:
- CVE-2021-23840
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).
- CVE-2021-23841
The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack.
For Debian 9
Stretch
, these problems have been fixed in version 1.0.2u-1~deb9u4. For the equivalent changes for the 1.1 branch, please see DLA-2563-1.We recommend that you upgrade your openssl1.0 packages.
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS
- CVE-2021-23840