{"id":"USN-7061-1","summary":"golang-1.17 vulnerabilities","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","modified":"2026-02-10T04:45:28Z","published":"2024-10-10T12:55:01Z","related":["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"],"upstream":["CVE-2023-24531","CVE-2023-24538","CVE-2023-29402","CVE-2023-29403","CVE-2023-29404","CVE-2023-29405","CVE-2023-29406","CVE-2023-39318","CVE-2023-39319","CVE-2023-39325","CVE-2024-24785","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"],"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"}],"affected":[{"package":{"name":"golang-1.17","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.17@1.17.13-3ubuntu1.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.13-3ubuntu1.2"}]}],"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.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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7061-1.json","cves_map":{"cves":[{"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-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":"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":"low","type":"Ubuntu"}],"id":"CVE-2023-29402"},{"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-29403"},{"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-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:R/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-29406"},{"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-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:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-39325"},{"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"}],"id":"CVE-2024-24785"}],"ecosystem":"Ubuntu:22.04:LTS"}}}],"schema_version":"1.7.3"}