OESA-2021-1121

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1121
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1121.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1121
Upstream
Published
2021-04-07T11:02:46Z
Modified
2025-08-12T05:07:35.858001Z
Summary
openssl security update
Details

OpenSSL is a robust, commercial-grade, and full-featured toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols.

Security Fix(es):

The OpenSSL public API function X509issuerandserialhash() 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 X509issuerandserialhash() 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)

Calls to EVPCipherUpdate, EVPEncryptUpdate 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)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS / openssl

Package

Name
openssl
Purl
pkg:rpm/openEuler/openssl&distro=openEuler-20.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1f-9.oe1

Ecosystem specific

{
    "src": [
        "openssl-1.1.1f-4.oe1.src.rpm",
        "openssl-1.1.1f-9.oe1.src.rpm"
    ],
    "x86_64": [
        "openssl-libs-1.1.1f-4.oe1.x86_64.rpm",
        "openssl-debuginfo-1.1.1f-4.oe1.x86_64.rpm",
        "openssl-1.1.1f-4.oe1.x86_64.rpm",
        "openssl-devel-1.1.1f-4.oe1.x86_64.rpm",
        "openssl-debugsource-1.1.1f-4.oe1.x86_64.rpm",
        "openssl-devel-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-debugsource-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-libs-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-debuginfo-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-1.1.1f-9.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "openssl-1.1.1f-4.oe1.aarch64.rpm",
        "openssl-libs-1.1.1f-4.oe1.aarch64.rpm",
        "openssl-devel-1.1.1f-4.oe1.aarch64.rpm",
        "openssl-debuginfo-1.1.1f-4.oe1.aarch64.rpm",
        "openssl-debugsource-1.1.1f-4.oe1.aarch64.rpm",
        "openssl-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-debuginfo-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-debugsource-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-libs-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-devel-1.1.1f-9.oe1.aarch64.rpm"
    ],
    "noarch": [
        "openssl-help-1.1.1f-4.oe1.noarch.rpm",
        "openssl-help-1.1.1f-9.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP1 / openssl

Package

Name
openssl
Purl
pkg:rpm/openEuler/openssl&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1f-9.oe1

Ecosystem specific

{
    "src": [
        "openssl-1.1.1f-9.oe1.src.rpm"
    ],
    "x86_64": [
        "openssl-devel-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-debugsource-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-libs-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-debuginfo-1.1.1f-9.oe1.x86_64.rpm",
        "openssl-1.1.1f-9.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "openssl-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-debuginfo-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-debugsource-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-libs-1.1.1f-9.oe1.aarch64.rpm",
        "openssl-devel-1.1.1f-9.oe1.aarch64.rpm"
    ],
    "noarch": [
        "openssl-help-1.1.1f-9.oe1.noarch.rpm"
    ]
}