An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3
Security Advisory
openeuler-security@openeuler.org
openEuler security committee
openEuler-SA-2024-1306
Final
1.0
1.0
2024-03-22
Initial
2024-03-22
2024-03-22
openEuler SA Tool V1.0
2024-03-22
golang security update
An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3.
The Go Programming Language.
Security Fix(es):
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.(CVE-2023-45289)
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.(CVE-2023-45290)
Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.(CVE-2024-24783)
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.(CVE-2024-24785)
An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP4,openEuler-22.03-LTS,openEuler-22.03-LTS-SP1,openEuler-22.03-LTS-SP2 and openEuler-22.03-LTS-SP3.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.
High
golang
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1306
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-45289
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-45290
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-24783
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2024-24785
https://nvd.nist.gov/vuln/detail/CVE-2023-45289
https://nvd.nist.gov/vuln/detail/CVE-2023-45290
https://nvd.nist.gov/vuln/detail/CVE-2024-24783
https://nvd.nist.gov/vuln/detail/CVE-2024-24785
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
golang-1.15.7-39.oe1.aarch64.rpm
golang-1.15.7-39.oe2003sp4.aarch64.rpm
golang-1.17.3-28.oe2203.aarch64.rpm
golang-1.17.3-28.oe2203sp1.aarch64.rpm
golang-1.17.3-28.oe2203sp2.aarch64.rpm
golang-1.17.3-28.oe2203sp3.aarch64.rpm
golang-devel-1.15.7-39.oe1.noarch.rpm
golang-help-1.15.7-39.oe1.noarch.rpm
golang-help-1.15.7-39.oe2003sp4.noarch.rpm
golang-devel-1.15.7-39.oe2003sp4.noarch.rpm
golang-devel-1.17.3-28.oe2203.noarch.rpm
golang-help-1.17.3-28.oe2203.noarch.rpm
golang-devel-1.17.3-28.oe2203sp1.noarch.rpm
golang-help-1.17.3-28.oe2203sp1.noarch.rpm
golang-devel-1.17.3-28.oe2203sp2.noarch.rpm
golang-help-1.17.3-28.oe2203sp2.noarch.rpm
golang-devel-1.17.3-28.oe2203sp3.noarch.rpm
golang-help-1.17.3-28.oe2203sp3.noarch.rpm
golang-1.15.7-39.oe1.src.rpm
golang-1.15.7-39.oe2003sp4.src.rpm
golang-1.17.3-28.oe2203.src.rpm
golang-1.17.3-28.oe2203sp1.src.rpm
golang-1.17.3-28.oe2203sp2.src.rpm
golang-1.17.3-28.oe2203sp3.src.rpm
golang-1.15.7-39.oe1.x86_64.rpm
golang-1.15.7-39.oe2003sp4.x86_64.rpm
golang-1.17.3-28.oe2203.x86_64.rpm
golang-1.17.3-28.oe2203sp1.x86_64.rpm
golang-1.17.3-28.oe2203sp2.x86_64.rpm
golang-1.17.3-28.oe2203sp3.x86_64.rpm
When following an HTTP redirect to a domain which is not a subdomain match or exact match of the initial domain, an http.Client does not forward sensitive headers such as "Authorization" or "Cookie". For example, a redirect from foo.com to www.foo.com will forward the Authorization header, but a redirect to bar.com will not. A maliciously crafted HTTP redirect could cause sensitive headers to be unexpectedly forwarded.
2024-03-22
CVE-2023-45289
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
golang security update
2024-03-22
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1306
When parsing a multipart form (either explicitly with Request.ParseMultipartForm or implicitly with Request.FormValue, Request.PostFormValue, or Request.FormFile), limits on the total size of the parsed form were not applied to the memory consumed while reading a single form line. This permits a maliciously crafted input containing very long lines to cause allocation of arbitrarily large amounts of memory, potentially leading to memory exhaustion. With fix, the ParseMultipartForm function now correctly limits the maximum size of form lines.
2024-03-22
CVE-2023-45290
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
golang security update
2024-03-22
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1306
Verifying a certificate chain which contains a certificate with an unknown public key algorithm will cause Certificate.Verify to panic. This affects all crypto/tls clients, and servers that set Config.ClientAuth to VerifyClientCertIfGiven or RequireAndVerifyClientCert. The default behavior is for TLS servers to not verify client certificates.
2024-03-22
CVE-2024-24783
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
golang security update
2024-03-22
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1306
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
2024-03-22
CVE-2024-24785
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-SP3
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
golang security update
2024-03-22
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1306