Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2021-1612

Active Moderate

ALAS2-2021-1612 (medium): openssl11

Published
20 Mar 2021
Updated
17 Feb 2023

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2021-23839
CVE-2021-23840
CVE-2021-23841

Description

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 permissible 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

Read full publisher description 3704 characters

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 permissible 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. (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-23840) 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. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. 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. (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. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. (CVE-2021-23841)

Solution

Run yum update openssl11 or yum update --advisory ALAS2-2021-1612 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1openssl11

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • openssl11-1.1.1g-12.amzn2.0.2.aarch64
    • openssl11-libs-1.1.1g-12.amzn2.0.2.aarch64
    • openssl11-devel-1.1.1g-12.amzn2.0.2.aarch64
    • openssl11-static-1.1.1g-12.amzn2.0.2.aarch64
    • openssl11-debuginfo-1.1.1g-12.amzn2.0.2.aarch64
  2. 2openssl11

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • openssl11-1.1.1g-12.amzn2.0.2.i686
    • openssl11-libs-1.1.1g-12.amzn2.0.2.i686
    • openssl11-devel-1.1.1g-12.amzn2.0.2.i686
    • openssl11-static-1.1.1g-12.amzn2.0.2.i686
    • openssl11-debuginfo-1.1.1g-12.amzn2.0.2.i686
  3. 3openssl11

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • openssl11-1.1.1g-12.amzn2.0.2.src
  4. 4openssl11

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • openssl11-1.1.1g-12.amzn2.0.2.x86_64
    • openssl11-libs-1.1.1g-12.amzn2.0.2.x86_64
    • openssl11-devel-1.1.1g-12.amzn2.0.2.x86_64
    • openssl11-static-1.1.1g-12.amzn2.0.2.x86_64
    • openssl11-debuginfo-1.1.1g-12.amzn2.0.2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2021-23839 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-23839
  • CVE-2021-23840 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-23840
  • CVE-2021-23841 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-23841
  • CVE-2021-23839 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23839
  • CVE-2021-23840 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23840
  • CVE-2021-23841 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23841

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2021-1612.htmlUnknownc3fa06afb7fc0fd6639a9b3d91e0d77f172f661690d4aeb5f20c29c62a283314amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1612.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2021-1612.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected