• 公告ID (KylinSec-SA-2024-4969)

摘要:

botan2 security update

安全等级: High

公告ID: KylinSec-SA-2024-4969

发布日期: 2024年8月2日

关联CVE: CVE-2024-34702   CVE-2024-34703   CVE-2024-39312  

  • 详细介绍

1. 漏洞描述

   

Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS \#10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.

Security Fix(es):

Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.(CVE-2024-34702)

Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. Prior to versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.
(CVE-2024-34703)

Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.(CVE-2024-39312)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-34702 V6 botan2 Fixed
CVE-2024-34703 V6 botan2 Fixed
CVE-2024-39312 V6 botan2 Fixed

3. 影响组件

    botan2

4. 修复版本

   

V6

软件名称 架构 版本号
botan2-doc noarch 2.19.3-4.ks6
botan2-devel x86_64 2.19.3-4.ks6
python3-botan2 x86_64 2.19.3-4.ks6
botan2 x86_64 2.19.3-4.ks6
botan2-devel aarch64 2.19.3-4.ks6
botan2 aarch64 2.19.3-4.ks6
python3-botan2 aarch64 2.19.3-4.ks6

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

     botan2-doc   

     botan2-devel   

     python3-botan2   

     botan2   

aarch64:

     botan2-doc   

     botan2-devel   

     botan2   

     python3-botan2   

上一篇:KylinSec-SA-2024-4821 下一篇:KylinSec-SA-2024-4971