An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2022-2004 Final 1.0 1.0 2022-10-21 Initial 2022-10-21 2022-10-21 openEuler SA Tool V1.0 2022-10-21 golang security update An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS. The Go Programming Language Security Fix(es): Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.(CVE-2022-2879) Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.(CVE-2022-2880) Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected.(CVE-2022-41715) An update for golang is now available for openEuler-20.03-LTS-SP1,openEuler-20.03-LTS-SP3 and openEuler-22.03-LTS. openEuler Security has rated this update as having a security impact of medium. 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. Medium golang https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2004 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-2879 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-2880 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-41715 https://nvd.nist.gov/vuln/detail/CVE-2022-2879 https://nvd.nist.gov/vuln/detail/CVE-2022-2880 https://nvd.nist.gov/vuln/detail/CVE-2022-41715 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS golang-1.15.7-21.oe1.aarch64.rpm golang-1.15.7-21.oe1.aarch64.rpm golang-1.17.3-10.oe2203.aarch64.rpm golang-devel-1.15.7-21.oe1.noarch.rpm golang-help-1.15.7-21.oe1.noarch.rpm golang-help-1.15.7-21.oe1.noarch.rpm golang-devel-1.15.7-21.oe1.noarch.rpm golang-devel-1.17.3-10.oe2203.noarch.rpm golang-help-1.17.3-10.oe2203.noarch.rpm golang-1.15.7-21.oe1.src.rpm golang-1.15.7-21.oe1.src.rpm golang-1.17.3-10.oe2203.src.rpm golang-1.15.7-21.oe1.x86_64.rpm golang-1.15.7-21.oe1.x86_64.rpm golang-1.17.3-10.oe2203.x86_64.rpm Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB. 2022-10-21 CVE-2022-2879 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS Medium 6.2 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H golang security update 2022-10-21 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2004 Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value. After fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request s Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged. 2022-10-21 CVE-2022-2880 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS Medium 5.3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L golang security update 2022-10-21 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2004 Programs which compile regular expressions from untrusted sources may be vulnerable to memory exhaustion or denial of service. The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. After fix, each regexp being parsed is limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are rejected. Normal use of regular expressions is unaffected. 2022-10-21 CVE-2022-41715 openEuler-20.03-LTS-SP1 openEuler-20.03-LTS-SP3 openEuler-22.03-LTS Low 4.0 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L golang security update 2022-10-21 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-2004