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-1783
Final
1.0
1.0
2022-07-29
Initial
2022-07-29
2022-07-29
openEuler SA Tool V1.0
2022-07-29
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):
When httputil.ReverseProxy.ServeHTTP was called with a Request.Header map containing a nil value for the X-Forwarded-For header, ReverseProxy would set the client IP as the value of the X-Forwarded-For header, contrary to its documentation. In the more usual case where a Director function set the X-Forwarded-For header value to nil, ReverseProxy would leave the header unmodified as expected.(CVE-2022-32148)
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.(CVE-2022-30635)
Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes. (CVE-2022-30634)
Calling Unmarshal on a XML document into a Go struct which has a nested field that uses the any field tag can cause a panic due to stack exhaustion.(CVE-2022-30633)
Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.(CVE-2022-30632)
Calling Reader.Read on an archive containing a large number of concatenated 0-length compressed files can cause a panic due to stack exhaustion.(CVE-2022-30631)
As required by RFC 8446, section 4.6.1, ticket_age_add now holds arandom 32-bit value. Before this change, this value was always setto 0.(CVE-2022-30629)
Calling Decoder.Skip when parsing a deeply nested XML document can cause a panic due to stack exhaustion.(CVE-2022-28131)
Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.(CVE-2022-1962)
The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating a chunked encoding. This could potentially allow for request smuggling, but only if combined with an intermediate server that also improperly failed to reject the header as invalid.(CVE-2022-1705)
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 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-2022-1783
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-32148
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30635
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30634
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30633
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30632
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30631
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-30629
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-28131
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-1962
https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2022-1705
https://nvd.nist.gov/vuln/detail/CVE-2022-32148
https://nvd.nist.gov/vuln/detail/CVE-2022-30635
https://nvd.nist.gov/vuln/detail/CVE-2022-30634
https://nvd.nist.gov/vuln/detail/CVE-2022-30633
https://nvd.nist.gov/vuln/detail/CVE-2022-30632
https://nvd.nist.gov/vuln/detail/CVE-2022-30631
https://nvd.nist.gov/vuln/detail/CVE-2022-30629
https://nvd.nist.gov/vuln/detail/CVE-2022-28131
https://nvd.nist.gov/vuln/detail/CVE-2022-1962
https://nvd.nist.gov/vuln/detail/CVE-2022-1705
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
golang-1.15.7-14.oe1.aarch64.rpm
golang-1.15.7-14.oe1.aarch64.rpm
golang-1.17.3-5.oe2203.aarch64.rpm
golang-devel-1.15.7-14.oe1.noarch.rpm
golang-help-1.15.7-14.oe1.noarch.rpm
golang-devel-1.15.7-14.oe1.noarch.rpm
golang-help-1.15.7-14.oe1.noarch.rpm
golang-devel-1.17.3-5.oe2203.noarch.rpm
golang-help-1.17.3-5.oe2203.noarch.rpm
golang-1.15.7-14.oe1.src.rpm
golang-1.15.7-14.oe1.src.rpm
golang-1.17.3-5.oe2203.src.rpm
golang-1.15.7-14.oe1.x86_64.rpm
golang-1.15.7-14.oe1.x86_64.rpm
golang-1.17.3-5.oe2203.x86_64.rpm
When httputil.ReverseProxy.ServeHTTP was called with a Request.Header map containing a nil value for the X-Forwarded-For header, ReverseProxy would set the client IP as the value of the X-Forwarded-For header, contrary to its documentation. In the more usual case where a Director function set the X-Forwarded-For header value to nil, ReverseProxy would leave the header unmodified as expected.
2022-07-29
CVE-2022-32148
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:L/I:N/A:N
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-30635
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
Medium
5.5
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes.
2022-07-29
CVE-2022-30634
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling Unmarshal on a XML document into a Go struct which has a nested field that uses the any field tag can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-30633
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-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling Glob on a path which contains a large number of path separators can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-30632
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-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling Reader.Read on an archive containing a large number of concatenated 0-length compressed files can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-30631
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
High
7.5
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
As required by RFC 8446, section 4.6.1, ticket_age_add now holds arandom 32-bit value. Before this change, this value was always setto 0.
2022-07-29
CVE-2022-30629
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS
Low
2.6
AV:A/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling Decoder.Skip when parsing a deeply nested XML document can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-28131
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-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
Calling any of the Parse functions on Go source code which contains deeply nested types or declarations can cause a panic due to stack exhaustion.
2022-07-29
CVE-2022-1962
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-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783
The HTTP/1 client accepted some invalid Transfer-Encoding headers as indicating a chunked encoding. This could potentially allow for request smuggling, but only if combined with an intermediate server that also improperly failed to reject the header as invalid.
2022-07-29
CVE-2022-1705
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:L/A:N
golang security update
2022-07-29
https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1783