golang-1.19 — security advisory
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).
- Products
- golang-1.19
- Affected versions
- 1.19.10-1, 1.19.10-2, 1.19.11-1, 1.19.12-1, 1.19.12-2, 1.19.12-2~bpo11+1, 1.19.12-2~bpo12+1, 1.19.13-1, 1.19.13-1~bpo11+1, 1.19.13-1~bpo12+1, 1.19.8-2, 1.19.9-1
- Fixed versions
- Not specified
- CVEs
- CVE-2023-29402
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:47 UTC · Revision 1
Source evidence
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).
osv:DEBIAN-CVE-2023-29402
golang-1.19
Fixed versions: Not specified
Complete source record
{
"id": "959b40e74c901d28ae322c0add3c126a5575e0f20d66879dd91bd7ed54cd1607",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-29402",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2023-29402",
"summary": "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).",
"evidence": "osv:DEBIAN-CVE-2023-29402",
"products": [
{
"name": {
"value": "golang-1.19",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.19.10-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.10-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.11-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.12-2~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.13-1~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.8-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.19.9-1",
"evidence": "/affected/0/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "DEBIAN-CVE-2023-29402",
"aliases": [
"DEBIAN-CVE-2023-29402"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-1.19",
"purl": "pkg:deb/debian/golang-1.19?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.19.10-1",
"1.19.10-2",
"1.19.11-1",
"1.19.12-1",
"1.19.12-2",
"1.19.12-2~bpo11+1",
"1.19.12-2~bpo12+1",
"1.19.13-1",
"1.19.13-1~bpo11+1",
"1.19.13-1~bpo12+1",
"1.19.8-2",
"1.19.9-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-29402.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:01:47.979924382Z",
"provider": "osv",
"upstream": [
"CVE-2023-29402"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-29402"
]
},
"related_cves": [
{
"value": "CVE-2023-29402",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455700,
"published_at": "2023-06-08T21:15:16.77+00:00"
}