---
title: "CVE-2023-29402"
canonical_url: "https://pkgseek.com/security/CVE-2023-29402"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "critical"
---

# CVE-2023-29402

The go command may generate unexpected code at build time when using cgo. This may result in unexpected behavior when running a go program which uses cgo. This may occur when running an untrusted module which contains directories with newline characters in their names. Modules which are retrieved using the go command, i.e. via "go get", are not affected (modules retrieved using GOPATH-mode, i.e. GO111MODULE=off, may be affected).

CVE-2023-29402 严重级别为 CRITICAL (9.8)，共索引 46 条受影响软件包构建记录，涉及 4 个发行版。

- **级别 / 评分**: CRITICAL (9.8)
- **受影响构建数**: 46
- **涉及发行版**: 4
- **已标明修复版本发行版**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | golang | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-bin | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-docs | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-misc | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-race | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-src | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | golang-tests | 1.19.9-1.0.1.al8 | 1.19.10-1.0.1.al8 |
| Alibaba Cloud Linux | 3 | go-toolset | 1.19.9-1.al8 | 1.19.10-1.al8 |
| Oracle Linux | 8 | delve | 1.8.3-1.0.1.module+el8.7.0+20775+f27162c3 | 1.9.1-1.0.1.module+el8.8.0+20964+30a27755 |
| Oracle Linux | 8 | golang | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-bin | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-docs | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-misc | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-race | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-src | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | golang-tests | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.0.1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 8 | go-toolset | 1.19.9-1.module+el8.8.0+21059+045f0f63 | 1.19.10-1.module+el8.8.0+21109+b7104c00 |
| Oracle Linux | 9 | golang | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-bin | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-docs | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-misc | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-race | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-src | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | golang-tests | 1.19.9-2.el9_2 | 1.19.10-1.0.1.el9_2 |
| Oracle Linux | 9 | go-toolset | 1.19.9-1.el9_2 | 1.19.10-1.0.1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-bin | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-docs | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-misc | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-race | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-src | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | golang-tests | 1.19.9-2.el9_2 | 1.19.10-1.el9_2 |
| Red Hat Enterprise Linux | 9.8 | go-toolset | 1.19.9-1.el9_2 | 1.19.10-1.el9_2 |
| Ubuntu | focal | golang-1.13 | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-doc | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-go | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.13-src | 1.13.8-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14 | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-doc | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-go | 1.14.2-1ubuntu1 | — |
| Ubuntu | focal | golang-1.14-src | 1.14.2-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.17-doc | 1.17.3-1ubuntu2 | — |
| Ubuntu | jammy | golang-1.18 | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-doc | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-go | 1.18.1-1ubuntu1 | — |
| Ubuntu | jammy | golang-1.18-src | 1.18.1-1ubuntu1 | — |
