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

摘要:

Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.

安全等级: Low

公告ID: KylinSec-SA-2024-3287

发布日期: 2024年8月7日

关联CVE: CVE-2023-24531  

  • 详细介绍

1. 漏洞描述

   

Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-24531 KY3.4-5A golang Unaffected
CVE-2023-24531 KY3.5.2 golang Unaffected
CVE-2023-24531 V6 golang Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3286 下一篇:KylinSec-SA-2024-2722