Action not permitted
Modal body text goes here.
Modal Title
Modal Body
usn-7061-1
Vulnerability from osv_ubuntu
Hunter Wittenborn discovered that Go incorrectly handled the sanitization of environment variables. An attacker could possibly use this issue to run arbitrary commands. (CVE-2023-24531)
Sohom Datta discovered that Go did not properly validate backticks (`) as Javascript string delimiters, and did not escape them as expected. An attacker could possibly use this issue to inject arbitrary Javascript code into the Go template. (CVE-2023-24538)
Juho Nurminen discovered that Go incorrectly handled certain special characters in directory or file paths. An attacker could possibly use this issue to inject code into the resulting binaries. (CVE-2023-29402)
Vincent Dehors discovered that Go incorrectly handled permission bits. An attacker could possibly use this issue to read or write files with elevated privileges. (CVE-2023-29403)
Juho Nurminen discovered that Go incorrectly handled certain crafted arguments. An attacker could possibly use this issue to execute arbitrary code at build time. (CVE-2023-29405)
It was discovered that Go incorrectly validated the contents of host headers. A remote attacker could possibly use this issue to inject additional headers or entire requests. (CVE-2023-29406)
Takeshi Kaneko discovered that Go did not properly handle comments and special tags in the script context of html/template module. An attacker could possibly use this issue to inject Javascript code and perform a cross-site scripting attack. (CVE-2023-39318, CVE-2023-39319)
It was discovered that Go did not limit the number of simultaneously executing handler goroutines in the net/http module. An attacker could possibly use this issue to cause a panic resulting in a denial of service. (CVE-2023-39325)
It was discovered that the Go html/template module did not validate errors returned from MarshalJSON methods. An attacker could possibly use this issue to inject arbitrary code into the Go template. (CVE-2024-24785)
{
"affected": [
{
"database_specific": {
"cves_map": {
"cves": [
{
"id": "CVE-2023-24531",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-24538",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-29402",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-29403",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-29404",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-29405",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-29406",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-39318",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-39319",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2023-39325",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2024-24785",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}
},
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
}
],
"aliases": [],
"details": "Hunter Wittenborn discovered that Go incorrectly handled the sanitization\nof environment variables. An attacker could possibly use this issue to run\narbitrary commands. (CVE-2023-24531)\n\nSohom Datta discovered that Go did not properly validate backticks (`) as\nJavascript string delimiters, and did not escape them as expected. An\nattacker could possibly use this issue to inject arbitrary Javascript code\ninto the Go template. (CVE-2023-24538)\n\nJuho Nurminen discovered that Go incorrectly handled certain special\ncharacters in directory or file paths. An attacker could possibly use\nthis issue to inject code into the resulting binaries. (CVE-2023-29402)\n\nVincent Dehors discovered that Go incorrectly handled permission bits.\nAn attacker could possibly use this issue to read or write files with\nelevated privileges. (CVE-2023-29403)\n\nJuho Nurminen discovered that Go incorrectly handled certain crafted\narguments. An attacker could possibly use this issue to execute arbitrary\ncode at build time. (CVE-2023-29405)\n\nIt was discovered that Go incorrectly validated the contents of host\nheaders. A remote attacker could possibly use this issue to inject\nadditional headers or entire requests. (CVE-2023-29406)\n\nTakeshi Kaneko discovered that Go did not properly handle comments and\nspecial tags in the script context of html/template module. An attacker\ncould possibly use this issue to inject Javascript code and perform a\ncross-site scripting attack. (CVE-2023-39318, CVE-2023-39319)\n\nIt was discovered that Go did not limit the number of simultaneously\nexecuting handler goroutines in the net/http module. An attacker could\npossibly use this issue to cause a panic resulting in a denial of service.\n(CVE-2023-39325)\n\nIt was discovered that the Go html/template module did not validate errors\nreturned from MarshalJSON methods. An attacker could possibly use this\nissue to inject arbitrary code into the Go template. (CVE-2024-24785)\n",
"id": "USN-7061-1",
"modified": "2026-04-27T14:11:37Z",
"published": "2024-10-10T12:55:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-24531"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-24538"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29402"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29403"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29404"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29405"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29406"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39318"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39319"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39325"
},
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2024-24785"
}
],
"related": [],
"schema_version": "1.7.0",
"summary": "golang-1.17 vulnerabilities",
"upstream": [
"UBUNTU-CVE-2023-24531",
"UBUNTU-CVE-2023-24538",
"UBUNTU-CVE-2023-29402",
"UBUNTU-CVE-2023-29403",
"UBUNTU-CVE-2023-29404",
"UBUNTU-CVE-2023-29405",
"UBUNTU-CVE-2023-29406",
"UBUNTU-CVE-2023-39318",
"UBUNTU-CVE-2023-39319",
"UBUNTU-CVE-2023-39325",
"UBUNTU-CVE-2024-24785"
]
}
ubuntu-cve-2023-24531
Vulnerability from osv_ubuntu
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.
| URL | Type | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.21",
"binary_version": "1.21.1-1~ubuntu20.04.3"
},
{
"binary_name": "golang-1.21-go",
"binary_version": "1.21.1-1~ubuntu20.04.3"
},
{
"binary_name": "golang-1.21-src",
"binary_version": "1.21.1-1~ubuntu20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.21",
"purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1~ubuntu20.04.1",
"1.21.1-1~ubuntu20.04.2",
"1.21.1-1~ubuntu20.04.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.21",
"binary_version": "1.21.1-1~ubuntu22.04.3"
},
{
"binary_name": "golang-1.21-go",
"binary_version": "1.21.1-1~ubuntu22.04.3"
},
{
"binary_name": "golang-1.21-src",
"binary_version": "1.21.1-1~ubuntu22.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.21",
"purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1~ubuntu22.04.1",
"1.21.1-1~ubuntu22.04.2",
"1.21.1-1~ubuntu22.04.3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.21",
"binary_version": "1.21.9-1ubuntu0.1"
},
{
"binary_name": "golang-1.21-go",
"binary_version": "1.21.9-1ubuntu0.1"
},
{
"binary_name": "golang-1.21-src",
"binary_version": "1.21.9-1ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "golang-1.21",
"purl": "pkg:deb/ubuntu/golang-1.21@1.21.9-1ubuntu0.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1",
"1.21.3-1",
"1.21.4-1",
"1.21.5-1",
"1.21.6-1",
"1.21.7-1",
"1.21.7-2",
"1.21.8-1",
"1.21.8-1build1",
"1.21.9-1",
"1.21.9-1ubuntu0.1"
]
}
],
"aliases": [],
"details": "Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn\u0027t 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.",
"id": "UBUNTU-CVE-2023-24531",
"modified": "2026-05-20T15:02:29Z",
"published": "2024-07-02T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-24531"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-24531"
},
{
"type": "REPORT",
"url": "https://go.dev/cl/488375"
},
{
"type": "REPORT",
"url": "https://go.dev/cl/493535"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/58508"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-dev/c/ixHOFpSbajE/m/8EjlbKVWAwAJ"
},
{
"type": "REPORT",
"url": "https://pkg.go.dev/vuln/GO-2024-2962"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-24531"
]
}
ubuntu-cve-2023-24538
Vulnerability from osv_ubuntu
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.
| URL | Type | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.8-1ubuntu1~16.04.3+esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.8-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.16.2-0ubuntu1~18.04.2+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.8-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.16.2-0ubuntu1~20.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.8-1ubuntu2.22.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2023-24538",
"modified": "2026-05-20T15:02:29Z",
"published": "2023-04-06T16:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-24538"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/Xdv6JL9ENs8"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/59234"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/20374d1d759bc4e17486bde1cb9dca5be37d9e52"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/b1e3ecfa06b67014429a197ec5e134ce4303ad9b"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6038-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6140-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6038-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-24538"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
}
],
"related": [
"USN-6038-1",
"USN-6140-1",
"USN-6038-2",
"USN-7061-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-24538"
]
}
ubuntu-cve-2023-29402
Vulnerability from osv_ubuntu
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).
| URL | Type | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "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).",
"id": "UBUNTU-CVE-2023-29402",
"modified": "2026-05-20T15:02:34Z",
"published": "2023-06-08T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29402"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/q5135a9d924"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/60167"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/c0ed873cd8259f16d0da67eee783fda49f45ef61"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/c160b49b6d328c86bd76ca2fff9009a71347333f"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-29402"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-29402"
]
}
ubuntu-cve-2023-29403
Vulnerability from osv_ubuntu
On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.
| URL | Type | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "On Unix platforms, the Go runtime does not behave differently when a binary is run with the setuid/setgid bits. This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors. If a setuid/setgid binary is executed with standard I/O file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges. Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers.",
"id": "UBUNTU-CVE-2023-29403",
"modified": "2026-05-20T15:02:34Z",
"published": "2023-06-08T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29403"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/q5135a9d924"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/60272"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/36144ba429ef2650940c72e7a0b932af3612d420"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/a7b1cd452ddc69a6606c2f35ac5786dc892e62cb"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-29403"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-29403"
]
}
ubuntu-cve-2023-29404
Vulnerability from osv_ubuntu
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.
| URL | Type | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.",
"id": "UBUNTU-CVE-2023-29404",
"modified": "2026-05-20T15:02:34Z",
"published": "2023-06-08T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29404"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/q5135a9d924"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/60305"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/356a419e2f811b65d227abcea1a346f8dcb154e0"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/bf3c8ce03e175e870763901a3850bca01381a828"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-29404"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-29404"
]
}
ubuntu-cve-2023-29405
Vulnerability from osv_ubuntu
The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.
| URL | Type | |||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "The go command may execute arbitrary code at build time when using cgo. This may occur when running \"go get\" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a \"#cgo LDFLAGS\" directive. Flags containing embedded spaces are mishandled, allowing disallowed flags to be smuggled through the LDFLAGS sanitization by including them in the argument of another flag. This only affects usage of the gccgo compiler.",
"id": "UBUNTU-CVE-2023-29405",
"modified": "2026-05-20T15:02:34Z",
"published": "2023-06-08T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29405"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/q5135a9d924"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/60306"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/fa60c381ed06c12f9c27a7b50ca44c5f84f7f0f4"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/1008486a9ff979dbd21c7466eeb6abf378f9c637"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/44e0fb13e783a44463e95926a674fd580daa3a55"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/3ba9c890b86dc8c3a54c98d32497b7a8012704f9"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-29405"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-29405"
]
}
ubuntu-cve-2023-29406
Vulnerability from osv_ubuntu
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
| URL | Type | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04",
"1.20.3-1ubuntu0.1~20.04.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04",
"1.20.3-1ubuntu0.1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.",
"id": "UBUNTU-CVE-2023-29406",
"modified": "2026-05-20T15:02:34Z",
"published": "2023-07-11T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-29406"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/2q13H6LEEx0"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/60374"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/312920c00aac9897b2a0693e752390b5b0711a5a"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/5fa6923b1ea891400153d04ddf1545e23b40041b"
},
{
"type": "REPORT",
"url": "https://go.dev/cl/506996"
},
{
"type": "REPORT",
"url": "https://pkg.go.dev/vuln/GO-2023-1878"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/60374"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-29406"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-29406"
]
}
ubuntu-cve-2023-39318
Vulnerability from osv_ubuntu
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in contexts. This may cause the template parser to improperly interpret the contents of contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
| URL | Type | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~20.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "The html/template package does not properly handle HTML-like \"\" comment tokens, nor hashbang \"#!\" comment tokens, in \u003cscript\u003e contexts. This may cause the template parser to improperly interpret the contents of \u003cscript\u003e contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.",
"id": "UBUNTU-CVE-2023-39318",
"modified": "2026-05-20T15:02:49Z",
"published": "2023-09-08T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39318"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/62196"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/b0e1d3ea26e8e8fce7726690c9ef0597e60739fb"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/023b542edf38e2a1f87fcefb9f75ff2f99401b4c"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ"
},
{
"type": "REPORT",
"url": "https://pkg.go.dev/vuln/GO-2023-2041"
},
{
"type": "REPORT",
"url": "https://go.dev/cl/526156"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6574-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-39318"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-6574-1",
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-39318"
]
}
ubuntu-cve-2023-39319
Vulnerability from osv_ubuntu
The html/template package does not apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.
| URL | Type | |||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~20.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "The html/template package does not apply the proper rules for handling occurrences of \"\u003cscript\", \"\u003c!--\", and \"\u003c/script\" within JS literals in \u003cscript\u003e contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could be leveraged to perform an XSS attack.",
"id": "UBUNTU-CVE-2023-39319",
"modified": "2026-05-20T15:02:49Z",
"published": "2023-09-08T17:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39319"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/62197"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/bbd043ff0d6d59f1a9232d31ecd5eacf6507bf6a"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/2070531d2f53df88e312edace6c8dfc9686ab2f5"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-announce/c/Fm51GRLNRvM"
},
{
"type": "REPORT",
"url": "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ"
},
{
"type": "REPORT",
"url": "https://pkg.go.dev/vuln/GO-2023-2043"
},
{
"type": "REPORT",
"url": "https://go.dev/cl/526157"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6574-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-39319"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-6574-1",
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-39319"
]
}
ubuntu-cve-2023-39325
Vulnerability from osv_ubuntu
A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.
| URL | Type | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~14.04.1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~16.04.6+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~16.04.6+esm1?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~16.04.6+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~16.04.6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~16.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~16.04.2?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10.4-2ubuntu1~16.04.1",
"1.10.4-2ubuntu1~16.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.6",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-go",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
},
{
"binary_name": "golang-1.6-src",
"binary_version": "1.6.2-0ubuntu5~16.04.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "golang-1.6",
"purl": "pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-0ubuntu1",
"1.6-0ubuntu2",
"1.6-0ubuntu3",
"1.6-0ubuntu4",
"1.6-0ubuntu5",
"1.6.1-0ubuntu1",
"1.6.2-0ubuntu5~16.04",
"1.6.2-0ubuntu5~16.04.2",
"1.6.2-0ubuntu5~16.04.3",
"1.6.2-0ubuntu5~16.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~16.04.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~16.04.3+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~16.04.2",
"1.13.8-1ubuntu1~16.04.3",
"1.13.8-1ubuntu1~16.04.3+esm2",
"1.13.8-1ubuntu1~16.04.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.10",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-go",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
},
{
"binary_name": "golang-1.10-src",
"binary_version": "1.10.4-2ubuntu1~18.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.10",
"purl": "pkg:deb/ubuntu/golang-1.10@1.10.4-2ubuntu1~18.04.2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.10~rc1-1",
"1.10~rc1-1ubuntu1",
"1.10~rc1-2ubuntu1",
"1.10~rc2-1ubuntu1",
"1.10-1ubuntu1",
"1.10.1-1ubuntu2",
"1.10.4-2ubuntu1~18.04.1",
"1.10.4-2ubuntu1~18.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu1~18.04.2",
"1.13.8-1ubuntu1~18.04.3",
"1.13.8-1ubuntu1~18.04.4",
"1.13.8-1ubuntu1~18.04.4+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~18.04.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~18.04.2+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~18.04.2",
"1.16.2-0ubuntu1~18.04.2+esm1"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~18.04.4+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~18.04.4+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~18.04.3",
"1.18.1-1ubuntu1~18.04.4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.8",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-go-shared-dev",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "golang-1.8-src",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
},
{
"binary_name": "libgolang-1.8-std1",
"binary_version": "1.8.3-2ubuntu1.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.8",
"purl": "pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.8.3-2ubuntu1",
"1.8.3-2ubuntu1.18.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.9",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-go",
"binary_version": "1.9.4-1ubuntu1"
},
{
"binary_name": "golang-1.9-src",
"binary_version": "1.9.4-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "golang-1.9",
"purl": "pkg:deb/ubuntu/golang-1.9@1.9.4-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.1-2ubuntu1",
"1.9.2-1ubuntu1",
"1.9.2-3ubuntu1",
"1.9.3-1ubuntu1",
"1.9.4-1ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1~20.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1~20.04.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1~20.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18.1-1ubuntu1~20.04.1",
"1.18.1-1ubuntu1~20.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~20.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~20.04"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.21",
"binary_version": "1.21.1-1~ubuntu20.04.2"
},
{
"binary_name": "golang-1.21-go",
"binary_version": "1.21.1-1~ubuntu20.04.2"
},
{
"binary_name": "golang-1.21-src",
"binary_version": "1.21.1-1~ubuntu20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.21",
"purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21.1-1~ubuntu20.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1~ubuntu20.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu1.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu1.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.1-1ubuntu1",
"1.13.3-1ubuntu1",
"1.13.4-1ubuntu1",
"1.13.5-1ubuntu1",
"1.13.6-1ubuntu1",
"1.13.6-2ubuntu1",
"1.13.7-1ubuntu1",
"1.13.8-1ubuntu1",
"1.13.8-1ubuntu1.1",
"1.13.8-1ubuntu1.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.14",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-go",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
},
{
"binary_name": "golang-1.14-src",
"binary_version": "1.14.3-2ubuntu2~20.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "golang-1.14",
"purl": "pkg:deb/ubuntu/golang-1.14@1.14.3-2ubuntu2~20.04.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.14~beta1-1",
"1.14~beta1-2",
"1.14~rc1-1",
"1.14-1",
"1.14.1-1",
"1.14.2-1",
"1.14.2-1ubuntu1",
"1.14.3-2ubuntu2~20.04.1",
"1.14.3-2ubuntu2~20.04.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.16",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-go",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
},
{
"binary_name": "golang-1.16-src",
"binary_version": "1.16.2-0ubuntu1~20.04.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "golang-1.16",
"purl": "pkg:deb/ubuntu/golang-1.16@1.16.2-0ubuntu1~20.04.1+esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.16.2-0ubuntu1~20.04",
"1.16.2-0ubuntu1~20.04.1",
"1.16.2-0ubuntu1~20.04.1+esm1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.17",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-go",
"binary_version": "1.17.13-3ubuntu1.2"
},
{
"binary_name": "golang-1.17-src",
"binary_version": "1.17.13-3ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.17",
"purl": "pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.17.13-3ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.17-1ubuntu2",
"1.17.3-1ubuntu1",
"1.17.3-1ubuntu2",
"1.17.13-3ubuntu1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.18",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-go",
"binary_version": "1.18.1-1ubuntu1.2"
},
{
"binary_name": "golang-1.18-src",
"binary_version": "1.18.1-1ubuntu1.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.18",
"purl": "pkg:deb/ubuntu/golang-1.18@1.18.1-1ubuntu1.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.1-1ubuntu1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.18~beta1-0ubuntu1",
"1.18~beta2-1ubuntu1",
"1.18~beta2-1ubuntu2",
"1.18~rc1-1ubuntu1",
"1.18-1ubuntu1",
"1.18.1-1ubuntu1",
"1.18.1-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.20",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-go",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
},
{
"binary_name": "golang-1.20-src",
"binary_version": "1.20.3-1ubuntu0.1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.20",
"purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.3-1ubuntu0.1~22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.20.3-1ubuntu0.1~22.04"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "golang-1.21",
"binary_version": "1.21.1-1~ubuntu22.04.2"
},
{
"binary_name": "golang-1.21-go",
"binary_version": "1.21.1-1~ubuntu22.04.2"
},
{
"binary_name": "golang-1.21-src",
"binary_version": "1.21.1-1~ubuntu22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "golang-1.21",
"purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.21.1-1~ubuntu22.04.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1~ubuntu22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-1.13",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-go",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
},
{
"binary_name": "golang-1.13-src",
"binary_version": "1.13.8-1ubuntu2.22.04.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "golang-1.13",
"purl": "pkg:deb/ubuntu/golang-1.13@1.13.8-1ubuntu2.22.04.2?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.13.8-1ubuntu2",
"1.13.8-1ubuntu2.22.04.1",
"1.13.8-1ubuntu2.22.04.1+esm1",
"1.13.8-1ubuntu2.22.04.2"
]
}
],
"aliases": [],
"details": "A malicious HTTP/2 client which rapidly creates requests and immediately resets them can cause excessive server resource consumption. While the total number of requests is bounded by the http2.Server.MaxConcurrentStreams setting, resetting an in-progress request allows the attacker to create a new request while the existing one is still executing. With the fix applied, HTTP/2 servers now bound the number of simultaneously executing handler goroutines to the stream concurrency limit (MaxConcurrentStreams). New requests arriving when at the limit (which can only happen after the client has reset an existing, in-flight request) will be queued until a handler exits. If the request queue grows too large, the server will terminate the connection. This issue is also fixed in golang.org/x/net/http2 for users manually configuring HTTP/2. The default stream concurrency limit is 250 streams (requests) per HTTP/2 connection. This value may be adjusted using the golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams setting and the ConfigureServer function.",
"id": "UBUNTU-CVE-2023-39325",
"modified": "2026-05-20T15:02:49Z",
"published": "2023-10-11T22:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-39325"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/issues/63417"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/24ae2d927285c697440fdde3ad7f26028354bcf3"
},
{
"type": "REPORT",
"url": "https://github.com/golang/go/commit/e175f27f58aa7b9cd4d79607ae65d2cd5baaee68"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6574-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-39325"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7061-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7109-1"
}
],
"related": [
"USN-6574-1",
"USN-7061-1",
"USN-7109-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-39325"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.