Anolis OS update for go-toolset:an8 module



| Updated: 2025-03-29
Risk High
Patch available YES
Number of vulnerabilities 9
CVE-ID CVE-2021-27918
CVE-2021-31525
CVE-2021-33196
CVE-2021-34558
CVE-2020-24553
CVE-2020-28362
CVE-2020-28366
CVE-2020-28367
CVE-2021-3114
CWE-ID CWE-835
CWE-674
CWE-400
CWE-295
CWE-79
CWE-20
CWE-94
CWE-682
Exploitation vector Network
Public exploit Public exploit code for vulnerability #4 is available.
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

golang-tests
Operating systems & Components / Operating system package or component

golang-src
Operating systems & Components / Operating system package or component

golang-misc
Operating systems & Components / Operating system package or component

golang-docs
Operating systems & Components / Operating system package or component

golang-race
Operating systems & Components / Operating system package or component

delve
Operating systems & Components / Operating system package or component

golang-bin
Operating systems & Components / Operating system package or component

golang
Operating systems & Components / Operating system package or component

go-toolset
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains information about 9 vulnerabilities.

1) Infinite loop

EUVDB-ID: #VU51486

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-27918

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when using xml.NewTokenDecoder with a custom TokenReader. A remote attacker can trick a victim to open a specially crafted XML content and cause denial of service conditions.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Uncontrolled Recursion

EUVDB-ID: #VU54910

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-31525

CWE-ID: CWE-674 - Uncontrolled Recursion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a DoS attack.

The vulnerability exists due to uncontrolled recursion when processing HTTP headers. A remote attacker can send a large header to ReadRequest or ReadResponse and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Resource exhaustion

EUVDB-ID: #VU54521

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-33196

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources when parsing archives. A remote attacker can pass a specially crafted .zip file to the application, trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Improper Certificate Validation

EUVDB-ID: #VU55665

Risk: Medium

CVSSv4.0: 7.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2021-34558

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to improper certificate verification in crypto/tls package in Go when processing X.509 certificates. The application does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

5) Cross-site scripting

EUVDB-ID: #VU46580

Risk: Low

CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear]

CVE-ID: CVE-2020-24553

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) Input validation error

EUVDB-ID: #VU48480

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-28362

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input in a number of math/big.Int methods (Div, Exp, DivMod, Quo, Rem, QuoRem, Mod, ModInverse, ModSqrt, Jacobi, and GCD). A remote attacker can pass large input data to the application, specifically as divisor or modulo argument larger than 3168 bits (on 32-bit architectures) or 6336 bits (on 64-bit architectures).

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

7) Code Injection

EUVDB-ID: #VU48478

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2020-28366

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation at build time when cgo is in use. A remote attacker can trick the victim into building a specially crafted application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

8) Code Injection

EUVDB-ID: #VU48479

Risk: High

CVSSv4.0: 6.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2020-28367

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation at build time when cgo is in use. A remote attacker can trick the victim to build a specially crafted application and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

9) Incorrect calculation

EUVDB-ID: #VU50047

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2021-3114

CWE-ID: CWE-682 - Incorrect Calculation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to incorrect calculation performed by the application in "crypto/elliptic/p224.go". A remote attacker can generate incorrect outputs, related to an underflow of the lowest limb during the final complete reduction in the P-224 field.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

golang-tests: before 1.15.14-1

golang-src: before 1.15.14-1

golang-misc: before 1.15.14-1

golang-docs: before 1.15.14-1

golang-race: before 1.15.14-1

delve: before 1.5.0-2

golang-bin: before 1.15.14-1

golang: before 1.15.14-1

go-toolset: before 1.15.14-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2021:0071


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###