摘要:
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
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.
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2023-24531 | KY3.4-5A | golang | Unaffected |
CVE-2023-24531 | KY3.5.2 | golang | Unaffected |
CVE-2023-24531 | V6 | golang | Unaffected |