Anolis OS update for ruby:3.0 module



Risk High
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2021-33621
CVE-2023-28755
CVE-2023-28756
CVE-2024-27280
CVE-2024-27281
CVE-2024-27282
CWE-ID CWE-113
CWE-185
CWE-125
CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #2 is available.
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-typeprof
Operating systems & Components / Operating system package or component

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

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

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

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

rubygem-rbs
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-mysql2-doc
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-bundler
Operating systems & Components / Operating system package or component

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

ruby-default-gems
Operating systems & Components / Operating system package or component

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

rubygem-mysql2
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-pg
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

Vendor OpenAnolis

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) HTTP response splitting

EUVDB-ID: #VU69506

Risk: Medium

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

CVE-ID: CVE-2021-33621

CWE-ID: CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform HTTP splitting attacks.

The vulnerability exists due to software does not corrector process CRLF character sequences when handling cookies. A remote attacker can send specially crafted request containing CRLF sequence and make the application to send a split HTTP response.

Successful exploitation of the vulnerability may allow an attacker perform cache poisoning attack.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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

EUVDB-ID: #VU74004

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-2023-28755

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 URLs. A remote attacker can pass specially crafted URL 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.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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.

3) Incorrect Regular Expression

EUVDB-ID: #VU74007

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-2023-28756

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 strings that have specific characters. 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.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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) Out-of-bounds read

EUVDB-ID: #VU87693

Risk: Medium

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

CVE-ID: CVE-2024-27280

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition in the "ungetbyte" and "ungetc" methods. A remote attacker can trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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

EUVDB-ID: #VU87692

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-2024-27281

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 when parsing .rdoc_options as a YAML file. 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.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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) Out-of-bounds read

EUVDB-ID: #VU88970

Risk: Medium

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

CVE-ID: CVE-2024-27282

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

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

The vulnerability exists due to a boundary condition in Regex search. A remote attacker can pass specially crafted string to the application, trigger an out-of-bounds read error and read contents of heap memory on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rubygems-devel: before 3.2.33-143.0.1

rubygems: before 3.2.33-143.0.1

rubygem-typeprof: before 0.15.2-143.0.1

rubygem-test-unit: before 3.3.7-143.0.1

rubygem-rss: before 0.2.9-143.0.1

rubygem-rexml: before 3.2.5-143.0.1

rubygem-rdoc: before 6.3.4.1-143.0.1

rubygem-rbs: before 1.4.0-143.0.1

rubygem-rake: before 13.0.3-143.0.1

rubygem-power_assert: before 1.2.1-143.0.1

rubygem-mysql2-doc: before 0.5.3-2.0.1

rubygem-minitest: before 5.14.2-143.0.1

rubygem-irb: before 1.3.5-143.0.1

rubygem-bundler: before 2.2.33-143.0.1

ruby-doc: before 3.0.7-143.0.1

ruby-default-gems: before 3.0.7-143.0.1

rubygem-psych: before 3.3.2-143.0.1

rubygem-mysql2: before 0.5.3-2.0.1

rubygem-json: before 2.5.1-143.0.1

rubygem-io-console: before 0.5.7-143.0.1

rubygem-bigdecimal: before 3.0.0-143.0.1

ruby-libs: before 3.0.7-143.0.1

ruby-devel: before 3.0.7-143.0.1

ruby: before 3.0.7-143.0.1

rubygem-pg-doc: before 1.2.3-1

rubygem-pg: before 1.2.3-1

rubygem-abrt-doc: before 0.4.0-1

rubygem-abrt: before 0.4.0-1

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0428


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