• 公告ID (KylinSec-SA-2023-1203)

摘要:

A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash. The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider. PKCS7 data is processed by the SMIME library calls and also by the time stamp (TS) library calls. The TLS implementation in OpenSSL does not call these functions however third party applications would be affected if they call these functions to verify signatures on untrusted data.

安全等级: Low

公告ID: KylinSec-SA-2023-1203

发布日期: 2023年3月17日

关联CVE: CVE-2023-0401  

  • 详细介绍

1. 漏洞描述

   

A NULL pointer can be dereferenced when signatures are being verified on PKCS7 signed or signedAndEnveloped data. In case the hash algorithm used for the signature is known to the OpenSSL library but the implementation of the hash algorithm is not available the digest initialization will fail. There is a missing check for the return value from the initialization function which later leads to invalid usage of the digest API most likely leading to a crash. The unavailability of an algorithm can be caused by using FIPS enabled configuration of providers or more commonly by not loading the legacy provider. PKCS7 data is processed by the SMIME library calls and also by the time stamp (TS) library calls. The TLS implementation in OpenSSL does not call these functions however third party applications would be affected if they call these functions to verify signatures on untrusted data.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-0401 KY3.4-4A compat-openssl11 Unaffected
CVE-2023-0401 KY3.4-5A compat-openssl11 Unaffected
CVE-2023-0401 KY3.5.1 compat-openssl11 Unaffected
CVE-2023-0401 KY3.5.2 compat-openssl11 Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2023-1202 下一篇:KylinSec-SA-2023-1204