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

摘要:

podman security update

安全等级: Critical

公告ID: KylinSec-SA-2024-4573

发布日期: 2025年1月15日

关联CVE: CVE-2023-24538  

  • 详细介绍

1. 漏洞描述

   

Podman manages the entire container ecosystem which includes pods, containers, container images, and container volumes using the libpod library.

Security Fix(es):

Templates do not properly consider backticks (`) as Javascript string delimiters, and do not escape them as expected. Backticks are used, since ES6, for JS template literals. If a template contains a Go template action within a Javascript template literal, the contents of the action can be used to terminate the literal, injecting arbitrary Javascript code into the Go template. As ES6 template literals are rather complex, and themselves can do string interpolation, the decision was made to simply disallow Go template actions from being used inside of them (e.g. "var a = {{.}}"), since there is no obviously safe way to allow this behavior. This takes the same approach as github.com/google/safehtml. With fix, Template.Parse returns an Error when it encounters templates like this, with an ErrorCode of value 12. This ErrorCode is currently unexported, but will be exported in the release of Go 1.21. Users who rely on the previous behavior can re-enable it using the GODEBUG flag jstmpllitinterp=1, with the caveat that backticks will now be escaped. This should be used with caution.(CVE-2023-24538)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-24538 KY3.4-5A golang Fixed

3. 影响组件

    podman

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
podman-docker noarch 0.10.1-9.kb1.ky3_4
python3-podman noarch 0.10.1-9.kb1.ky3_4
python3-pypodman noarch 0.10.1-9.kb1.ky3_4
podman x86_64 0.10.1-9.kb1.ky3_4
podman-help x86_64 0.10.1-9.kb1.ky3_4
podman aarch64 0.10.1-9.kb1.ky3_4
podman-help aarch64 0.10.1-9.kb1.ky3_4

5. 修复方法


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

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

6. 下载链接

   

KY3.4-5A:

x86_64:

     podman-docker   

     python3-podman   

     python3-pypodman   

     podman   

     podman-help   

aarch64:

     podman-docker   

     python3-podman   

     python3-pypodman   

     podman   

     podman-help   

上一篇:KylinSec-SA-2024-4572 下一篇:KylinSec-SA-2024-4574