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

摘要:

glibc security update

安全等级: High

公告ID: KylinSec-SA-2023-2006

发布日期: 2023年9月28日

关联CVE: CVE-2023-4806   CVE-2023-4813   CVE-2023-5156  

  • 详细介绍

1. 漏洞描述

   

The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. These APIs include such foundational facilities as open, read, write, malloc, printf, getaddrinfo, dlopen, pthread_create, crypt, login, exit and more.

Security Fix(es):

A flaw was found in glibc. In an extremely rare situation, the getaddrinfo function may access memory that has been freed, resulting in an application crash. This issue is only exploitable when a NSS module implements only the _nss_*_gethostbyname2_r and _nss_*_getcanonname_r hooks without implementing the _nss_*_gethostbyname3_r hook. The resolved name should return a large number of IPv6 and IPv4, and the call to the getaddrinfo function should have the AF_INET6 address family with AI_CANONNAME, AI_ALL and AI_V4MAPPED as flags.(CVE-2023-4806)

A flaw was found in glibc. In an uncommon situation, the gaih_inet function may use memory that has been freed, resulting in an application crash. This issue is only exploitable when the getaddrinfo function is called and the hosts database in /etc/nsswitch.conf is configured with SUCCESS=continue or SUCCESS=merge.(CVE-2023-4813)

A flaw was found in the GNU C Library. A recent fix for CVE-2023-4806 introduced the potential for a memory leak, which may result in an application crash.(CVE-2023-5156)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-4806 KY3.4-4A glibc Fixed
CVE-2023-4806 KY3.4-5A glibc Fixed
CVE-2023-4806 KY3.5.1 glibc Fixed
CVE-2023-4806 KY3.5.2 glibc Fixed
CVE-2023-4813 KY3.4-4A glibc Fixed
CVE-2023-4813 KY3.4-5A glibc Fixed
CVE-2023-4813 KY3.5.1 glibc Fixed
CVE-2023-4813 KY3.5.2 glibc Fixed
CVE-2023-5156 KY3.4-4A glibc Fixed
CVE-2023-5156 KY3.4-5A glibc Fixed
CVE-2023-5156 KY3.5.1 glibc Fixed
CVE-2023-5156 KY3.5.2 glibc Fixed

3. 影响组件

    glibc

4. 修复版本

   

KY3.5.1

软件名称 架构 版本号
glibc-help noarch 2.34-137.kb1.ky3_5
nss_modules x86_64 2.34-137.kb1.ky3_5
glibc-common x86_64 2.34-137.kb1.ky3_5
glibc-compat-2.17 x86_64 2.34-137.kb1.ky3_5
glibc-locale-source x86_64 2.34-137.kb1.ky3_5
glibc x86_64 2.34-137.kb1.ky3_5
nscd x86_64 2.34-137.kb1.ky3_5
glibc-devel x86_64 2.34-137.kb1.ky3_5
glibc-all-langpacks x86_64 2.34-137.kb1.ky3_5
glibc-locale-archive x86_64 2.34-137.kb1.ky3_5
glibc-nss-devel x86_64 2.34-137.kb1.ky3_5
libnsl x86_64 2.34-137.kb1.ky3_5
glibc-compat-2.17 aarch64 2.34-137.kb1.ky3_5
nss_modules aarch64 2.34-137.kb1.ky3_5
glibc-common aarch64 2.34-137.kb1.ky3_5
glibc-nss-devel aarch64 2.34-137.kb1.ky3_5
nscd aarch64 2.34-137.kb1.ky3_5
glibc-locale-archive aarch64 2.34-137.kb1.ky3_5
glibc-all-langpacks aarch64 2.34-137.kb1.ky3_5
glibc-devel aarch64 2.34-137.kb1.ky3_5
glibc aarch64 2.34-137.kb1.ky3_5
glibc-locale-source aarch64 2.34-137.kb1.ky3_5
libnsl aarch64 2.34-137.kb1.ky3_5

KY3.4-4A

软件名称 架构 版本号
glibc-help noarch 2.28-97.kb2.ky3_4
glibc-all-langpacks x86_64 2.28-97.kb2.ky3_4
glibc-common x86_64 2.28-97.kb2.ky3_4
glibc-benchtests x86_64 2.28-97.kb2.ky3_4
glibc-compat-2.17 x86_64 2.28-97.kb2.ky3_4
glibc-devel x86_64 2.28-97.kb2.ky3_4
glibc-nss-devel x86_64 2.28-97.kb2.ky3_4
nscd x86_64 2.28-97.kb2.ky3_4
glibc x86_64 2.28-97.kb2.ky3_4
glibc-locale-source x86_64 2.28-97.kb2.ky3_4
libnsl x86_64 2.28-97.kb2.ky3_4
nss_modules x86_64 2.28-97.kb2.ky3_4
glibc-compat-2.17 aarch64 2.28-97.kb2.ky3_4
glibc-locale-source aarch64 2.28-97.kb2.ky3_4
nscd aarch64 2.28-97.kb2.ky3_4
libnsl aarch64 2.28-97.kb2.ky3_4
nss_modules aarch64 2.28-97.kb2.ky3_4
glibc aarch64 2.28-97.kb2.ky3_4
glibc-devel aarch64 2.28-97.kb2.ky3_4
glibc-all-langpacks aarch64 2.28-97.kb2.ky3_4
glibc-benchtests aarch64 2.28-97.kb2.ky3_4
glibc-nss-devel aarch64 2.28-97.kb2.ky3_4
glibc-common aarch64 2.28-97.kb2.ky3_4

KY3.4-5A

软件名称 架构 版本号
glibc-help noarch 2.28-97.kb2.ky3_4
glibc-devel x86_64 2.28-97.kb2.ky3_4
glibc-compat-2.17 x86_64 2.28-97.kb2.ky3_4
libnsl x86_64 2.28-97.kb2.ky3_4
glibc-benchtests x86_64 2.28-97.kb2.ky3_4
glibc-all-langpacks x86_64 2.28-97.kb2.ky3_4
glibc-nss-devel x86_64 2.28-97.kb2.ky3_4
nscd x86_64 2.28-97.kb2.ky3_4
glibc x86_64 2.28-97.kb2.ky3_4
glibc-locale-source x86_64 2.28-97.kb2.ky3_4
glibc-common x86_64 2.28-97.kb2.ky3_4
nss_modules x86_64 2.28-97.kb2.ky3_4
glibc-nss-devel aarch64 2.28-97.kb2.ky3_4
glibc-all-langpacks aarch64 2.28-97.kb2.ky3_4
glibc aarch64 2.28-97.kb2.ky3_4
libnsl aarch64 2.28-97.kb2.ky3_4
nscd aarch64 2.28-97.kb2.ky3_4
glibc-locale-source aarch64 2.28-97.kb2.ky3_4
nss_modules aarch64 2.28-97.kb2.ky3_4
glibc-devel aarch64 2.28-97.kb2.ky3_4
glibc-common aarch64 2.28-97.kb2.ky3_4
glibc-benchtests aarch64 2.28-97.kb2.ky3_4
glibc-compat-2.17 aarch64 2.28-97.kb2.ky3_4

KY3.5.2

软件名称 架构 版本号
glibc-help noarch 2.34-143.ky3_5.kb1
glibc-locale-archive x86_64 2.34-143.ky3_5.kb1
glibc x86_64 2.34-143.ky3_5.kb1
glibc-nss-devel x86_64 2.34-143.ky3_5.kb1
glibc-locale-source x86_64 2.34-143.ky3_5.kb1
nscd x86_64 2.34-143.ky3_5.kb1
glibc-common x86_64 2.34-143.ky3_5.kb1
glibc-devel x86_64 2.34-143.ky3_5.kb1
glibc-all-langpacks x86_64 2.34-143.ky3_5.kb1
nss_modules x86_64 2.34-143.ky3_5.kb1
glibc-compat-2.17 x86_64 2.34-143.ky3_5.kb1
libnsl x86_64 2.34-143.ky3_5.kb1
glibc-compat-2.17 aarch64 2.34-143.ky3_5.kb1
nss_modules aarch64 2.34-143.ky3_5.kb1
nscd aarch64 2.34-143.ky3_5.kb1
glibc-common aarch64 2.34-143.ky3_5.kb1
glibc-devel aarch64 2.34-143.ky3_5.kb1
glibc-locale-source aarch64 2.34-143.ky3_5.kb1
glibc-all-langpacks aarch64 2.34-143.ky3_5.kb1
libnsl aarch64 2.34-143.ky3_5.kb1
glibc-nss-devel aarch64 2.34-143.ky3_5.kb1
glibc-locale-archive aarch64 2.34-143.ky3_5.kb1
glibc aarch64 2.34-143.ky3_5.kb1

5. 修复方法


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

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

6. 下载链接

   

KY3.5.1:

x86_64:

     glibc-help   

     nss_modules   

     glibc-common   

     glibc-compat-2.17   

     glibc-locale-source   

     glibc   

     nscd   

     glibc-devel   

     glibc-all-langpacks   

     glibc-locale-archive   

     glibc-nss-devel   

     libnsl   

aarch64:

     glibc-help   

     glibc-compat-2.17   

     nss_modules   

     glibc-common   

     glibc-nss-devel   

     nscd   

     glibc-locale-archive   

     glibc-all-langpacks   

     glibc-devel   

     glibc   

     glibc-locale-source   

     libnsl   

KY3.4-4A:

x86_64:

     glibc-help   

     glibc-all-langpacks   

     glibc-common   

     glibc-benchtests   

     glibc-compat-2.17   

     glibc-devel   

     glibc-nss-devel   

     nscd   

     glibc   

     glibc-locale-source   

     libnsl   

     nss_modules   

aarch64:

     glibc-help   

     glibc-compat-2.17   

     glibc-locale-source   

     nscd   

     libnsl   

     nss_modules   

     glibc   

     glibc-devel   

     glibc-all-langpacks   

     glibc-benchtests   

     glibc-nss-devel   

     glibc-common   

KY3.4-5A:

x86_64:

     glibc-help   

     glibc-devel   

     glibc-compat-2.17   

     libnsl   

     glibc-benchtests   

     glibc-all-langpacks   

     glibc-nss-devel   

     nscd   

     glibc   

     glibc-locale-source   

     glibc-common   

     nss_modules   

aarch64:

     glibc-help   

     glibc-nss-devel   

     glibc-all-langpacks   

     glibc   

     libnsl   

     nscd   

     glibc-locale-source   

     nss_modules   

     glibc-devel   

     glibc-common   

     glibc-benchtests   

     glibc-compat-2.17   

KY3.5.2:

x86_64:

     glibc-help   

     glibc-locale-archive   

     glibc   

     glibc-nss-devel   

     glibc-locale-source   

     nscd   

     glibc-common   

     glibc-devel   

     glibc-all-langpacks   

     nss_modules   

     glibc-compat-2.17   

     libnsl   

aarch64:

     glibc-help   

     glibc-compat-2.17   

     nss_modules   

     nscd   

     glibc-common   

     glibc-devel   

     glibc-locale-source   

     glibc-all-langpacks   

     libnsl   

     glibc-nss-devel   

     glibc-locale-archive   

     glibc   

上一篇:KylinSec-SA-2023-1981 下一篇:KylinSec-SA-2023-2038