Anolis OS update for ruby:2.6 module



| Updated: 2025-03-29
Risk High
Patch available YES
Number of vulnerabilities 7
CVE-ID CVE-2020-36327
CVE-2021-24105
CVE-2021-31799
CVE-2021-31810
CVE-2021-32066
CVE-2021-41817
CVE-2021-41819
CWE-ID CWE-345
CWE-20
CWE-77
CWE-200
CWE-295
CWE-185
CWE-451
Exploitation vector Network
Public exploit N/A
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

rubygems-devel
Operating systems & Components / Operating system package or component

rubygems
Operating systems & Components / Operating system package or component

rubygem-xmlrpc
Operating systems & Components / Operating system package or component

rubygem-test-unit
Operating systems & Components / Operating system package or component

rubygem-rdoc
Operating systems & Components / Operating system package or component

rubygem-rake
Operating systems & Components / Operating system package or component

rubygem-power_assert
Operating systems & Components / Operating system package or component

rubygem-net-telnet
Operating systems & Components / Operating system package or component

rubygem-minitest
Operating systems & Components / Operating system package or component

rubygem-irb
Operating systems & Components / Operating system package or component

rubygem-did_you_mean
Operating systems & Components / Operating system package or component

rubygem-bundler
Operating systems & Components / Operating system package or component

ruby-doc
Operating systems & Components / Operating system package or component

rubygem-psych
Operating systems & Components / Operating system package or component

rubygem-openssl
Operating systems & Components / Operating system package or component

rubygem-json
Operating systems & Components / Operating system package or component

rubygem-io-console
Operating systems & Components / Operating system package or component

rubygem-bigdecimal
Operating systems & Components / Operating system package or component

ruby-libs
Operating systems & Components / Operating system package or component

ruby-devel
Operating systems & Components / Operating system package or component

ruby
Operating systems & Components / Operating system package or component

rubygem-pg-doc
Operating systems & Components / Operating system package or component

rubygem-mongo-doc
Operating systems & Components / Operating system package or component

rubygem-mongo
Operating systems & Components / Operating system package or component

rubygem-bson-doc
Operating systems & Components / Operating system package or component

rubygem-abrt-doc
Operating systems & Components / Operating system package or component

rubygem-abrt
Operating systems & Components / Operating system package or component

rubygem-pg
Operating systems & Components / Operating system package or component

rubygem-bson
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains information about 7 vulnerabilities.

1) Insufficient verification of data authenticity

EUVDB-ID: #VU55666

Risk: High

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

CVE-ID: CVE-2020-36327

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

Exploit availability: No

Description

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

The vulnerability exists due to insufficient verification of data authenticity in Bundler, when  choosing a dependency source. The application selects a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen, even if the intended choice was a private gem that is a dependency of another private gem that is explicitly depended on by the application.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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) Input validation error

EUVDB-ID: #VU50511

Risk: High

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

CVE-ID: CVE-2021-24105

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

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

The vulnerability exists due to insufficient validation of user-supplied input in Package Managers Configurations. A remote attacker can pass specially crafted input to the application and execute arbitrary code on the target system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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) Command Injection

EUVDB-ID: #VU52796

Risk: High

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

CVE-ID: CVE-2021-31799

CWE-ID: CWE-77 - Command injection

Exploit availability: No

Description

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

The vulnerability exists due to improper input validation. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary commands 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

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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) Information disclosure

EUVDB-ID: #VU55488

Risk: Medium

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

CVE-ID: CVE-2021-31810

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists within Net::FTP in Ruby when processing PASV responses. A remote attacker can trick the victim to connect to a malicious FTP server and trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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.

5) Improper Certificate Validation

EUVDB-ID: #VU55489

Risk: Medium

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

CVE-ID: CVE-2021-32066

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists in Net::IMAP in Ruby, due to the gem does not raise an exception when StartTLS fails with an an unknown response. A remote attacker can perform a man-in-the-middle (MitM) attack.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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) Incorrect Regular Expression

EUVDB-ID: #VU59824

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-41817

CWE-ID: CWE-185 - Incorrect Regular Expression

Exploit availability: No

Description

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

The vulnerability exists due to insufficient input validation when processing regular expressions on date parsing methods. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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) Spoofing attack

EUVDB-ID: #VU58365

Risk: Medium

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

CVE-ID: CVE-2021-41819

CWE-ID: CWE-451 - User Interface (UI) Misrepresentation of Critical Information (Clickjacking, spoofing)

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to incorrect processing of user-supplied data in CGI::Cookie.parse. A remote attacker can spoof page content.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.0.3.1-108

rubygems: before 3.0.3.1-108

rubygem-xmlrpc: before 0.3.0-108

rubygem-test-unit: before 3.2.9-108

rubygem-rdoc: before 6.1.2.1-108

rubygem-rake: before 12.3.3-108

rubygem-power_assert: before 1.1.3-108

rubygem-net-telnet: before 0.2.0-108

rubygem-minitest: before 5.11.3-108

rubygem-irb: before 1.0.0-108

rubygem-did_you_mean: before 1.3.0-108

rubygem-bundler: before 1.17.2-108

ruby-doc: before 2.6.9-108

rubygem-psych: before 3.1.0-108

rubygem-openssl: before 2.1.2-108

rubygem-json: before 2.1.0-108

rubygem-io-console: before 0.4.7-108

rubygem-bigdecimal: before 1.4.1-108

ruby-libs: before 2.6.9-108

ruby-devel: before 2.6.9-108

ruby: before 2.6.9-108

rubygem-pg-doc: before 1.1.4-1

rubygem-mongo-doc: before 2.8.0-1

rubygem-mongo: before 2.8.0-1

rubygem-bson-doc: before 4.5.0-1

rubygem-abrt-doc: before 0.3.0-4

rubygem-abrt: before 0.3.0-4

rubygem-pg: before 1.1.4-1

rubygem-bson: before 4.5.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2022:0017


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###