{"id":"USN-6886-1","summary":"golang-1.21, golang-1.22 vulnerabilities","details":"It was discovered that the Go net/http module did not properly handle the\nrequests when request\\'s headers exceed MaxHeaderBytes. An attacker could\npossibly use this issue to cause a panic resulting into a denial of service.\nThis issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.\n(CVE-2023-45288)\n\nIt was discovered that the Go net/http module did not properly validate the\nsubdomain match or exact match of the initial domain. An attacker could\npossibly use this issue to read sensitive information. This issue only\naffected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-45289)\n\nIt was discovered that the Go net/http module did not properly validate the\ntotal size of the parsed form when parsing a multipart form. An attacker\ncould possibly use this issue to cause a panic resulting into a denial of\nservice. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu\n22.04 LTS. (CVE-2023-45290)\n\nIt was discovered that the Go crypto/x509 module did not properly handle a\ncertificate chain which contains a certificate with an unknown public key\nalgorithm. An attacker could possibly use this issue to cause a panic\nresulting into a denial of service. This issue only affected Go 1.21 in\nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-24783)\n\nIt was discovered that the Go net/mail module did not properly handle\ncomments within display names in the ParseAddressList function. An\nattacker could possibly use this issue to cause a panic resulting into a\ndenial of service. This issue only affected Go 1.21 in Ubuntu 20.04 LTS and\nUbuntu 22.04 LTS. (CVE-2024-24784)\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. This issue only\naffected Go 1.21 in Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2024-24785)\n\nIt was discovered that the Go net module did not properly validate the DNS\nmessage in response to a query. An attacker could possibly use this issue\nto cause a panic resulting into a denial of service. This issue only\naffected Go 1.22. (CVE-2024-24788)\n\nIt was discovered that the Go archive/zip module did not properly handle\ncertain types of invalid zip files differs from the behavior of most zip\nimplementations. An attacker could possibly use this issue to cause a panic\nresulting into a denial of service. (CVE-2024-24789)\n\nIt was discovered that the Go net/netip module did not work as expected\nfor IPv4-mapped IPv6 addresses in various Is methods. An attacker could\npossibly use this issue to cause a panic resulting into a denial of service.\n(CVE-2024-24790)\n","modified":"2026-04-27T17:19:01.861632Z","published":"2024-07-09T12:12:13Z","related":["UBUNTU-CVE-2023-45288","UBUNTU-CVE-2023-45289","UBUNTU-CVE-2023-45290","UBUNTU-CVE-2024-24783","UBUNTU-CVE-2024-24784","UBUNTU-CVE-2024-24785","UBUNTU-CVE-2024-24788","UBUNTU-CVE-2024-24789","UBUNTU-CVE-2024-24790"],"upstream":["CVE-2023-45288","CVE-2023-45289","CVE-2023-45290","CVE-2024-24783","CVE-2024-24784","CVE-2024-24785","CVE-2024-24788","CVE-2024-24789","CVE-2024-24790","UBUNTU-CVE-2023-45288","UBUNTU-CVE-2023-45289","UBUNTU-CVE-2023-45290","UBUNTU-CVE-2024-24783","UBUNTU-CVE-2024-24784","UBUNTU-CVE-2024-24785","UBUNTU-CVE-2024-24788","UBUNTU-CVE-2024-24789","UBUNTU-CVE-2024-24790"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6886-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-45288"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-45289"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-45290"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24783"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24784"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24785"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24788"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24789"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-24790"}],"affected":[{"package":{"name":"golang-1.21","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1~ubuntu20.04.3"}]}],"versions":["1.21.1-1~ubuntu20.04.1","1.21.1-1~ubuntu20.04.2"],"ecosystem_specific":{"availability":"No subscription required","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json","cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"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-45288"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45289"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45290"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24783"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24784"},{"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"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24789"},{"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-2024-24790"}]}}},{"package":{"name":"golang-1.21","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1~ubuntu22.04.3"}]}],"versions":["1.21.1-1~ubuntu22.04.1","1.21.1-1~ubuntu22.04.2"],"ecosystem_specific":{"availability":"No subscription required","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"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-45288"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45289"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45290"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24783"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24784"},{"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"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24788"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24789"},{"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-2024-24790"}]}}},{"package":{"name":"golang-1.22","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.22@1.22.2-2~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.2-2~22.04.1"}]}],"versions":["1.22.2-2~22.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.22","binary_version":"1.22.2-2~22.04.1"},{"binary_name":"golang-1.22-go","binary_version":"1.22.2-2~22.04.1"},{"binary_name":"golang-1.22-src","binary_version":"1.22.2-2~22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json","cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"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-45288"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45289"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2023-45290"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24783"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24784"},{"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"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24788"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24789"},{"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-2024-24790"}]}}},{"package":{"name":"golang-1.21","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-1.21@1.21.9-1ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.9-1ubuntu0.1"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","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"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24788"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24789"},{"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-2024-24790"}]}}},{"package":{"name":"golang-1.22","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-1.22@1.22.2-2ubuntu0.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22.2-2ubuntu0.1"}]}],"versions":["1.22~rc1-2","1.22.0-1","1.22.0-2","1.22.1-1","1.22.1-1build1","1.22.2-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.22","binary_version":"1.22.2-2ubuntu0.1"},{"binary_name":"golang-1.22-go","binary_version":"1.22.2-2ubuntu0.1"},{"binary_name":"golang-1.22-src","binary_version":"1.22.2-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6886-1.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24788"},{"severity":[{"score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2024-24789"},{"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-2024-24790"}]}}}],"schema_version":"1.7.5"}