Ubuntu update for ruby2.7



Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2024-27281
CVE-2024-27282
CWE-ID CWE-20
CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

ruby2.7 (Ubuntu package)
Operating systems & Components / Operating system package or component

libruby2.7 (Ubuntu package)
Operating systems & Components / Operating system package or component

ruby3.1 (Ubuntu package)
Operating systems & Components / Operating system package or component

libruby3.1 (Ubuntu package)
Operating systems & Components / Operating system package or component

ruby3.2 (Ubuntu package)
Operating systems & Components / Operating system package or component

libruby3.2 (Ubuntu package)
Operating systems & Components / Operating system package or component

ruby3.0 (Ubuntu package)
Other

libruby3.0 (Ubuntu package)
Other

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) 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

Update the affected package ruby2.7 to the latest version.

Vulnerable software versions

Ubuntu: 20.04 - 24.04

ruby2.7 (Ubuntu package): before 2.7.0-5ubuntu1.13

libruby2.7 (Ubuntu package): before 2.7.0-5ubuntu1.13

ruby3.0 (Ubuntu package): before 3.0.2-7ubuntu2.6

libruby3.0 (Ubuntu package): before 3.0.2-7ubuntu2.6

ruby3.1 (Ubuntu package): before 3.1.2-7ubuntu3.2

libruby3.1 (Ubuntu package): before 3.1.2-7ubuntu3.2

ruby3.2 (Ubuntu package): before 3.2.3-1ubuntu0.24.04.1

libruby3.2 (Ubuntu package): before 3.2.3-1ubuntu0.24.04.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6838-1


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

Update the affected package ruby2.7 to the latest version.

Vulnerable software versions

Ubuntu: 20.04 - 24.04

ruby2.7 (Ubuntu package): before 2.7.0-5ubuntu1.13

libruby2.7 (Ubuntu package): before 2.7.0-5ubuntu1.13

ruby3.0 (Ubuntu package): before 3.0.2-7ubuntu2.6

libruby3.0 (Ubuntu package): before 3.0.2-7ubuntu2.6

ruby3.1 (Ubuntu package): before 3.1.2-7ubuntu3.2

libruby3.1 (Ubuntu package): before 3.1.2-7ubuntu3.2

ruby3.2 (Ubuntu package): before 3.2.3-1ubuntu0.24.04.1

libruby3.2 (Ubuntu package): before 3.2.3-1ubuntu0.24.04.1

CPE2.3 External links

https://ubuntu.com/security/notices/USN-6838-1


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