Ubuntu update for ruby2.3



Published: 2023-07-12
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-28755
CVE-2023-36617
CWE-ID CWE-185
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
Ubuntu
Operating systems & Components / Operating system

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

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

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

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

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

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

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

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

libruby3.0 (Ubuntu package)
/

ruby3.0 (Ubuntu package)
/

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Incorrect Regular Expression

EUVDB-ID: #VU74004

Risk: Medium

CVSSv3.1: 6.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C]

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

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

Vulnerable software versions

Ubuntu: 16.04 - 23.04

libruby2.5 (Ubuntu package): before Ubuntu Pro

ruby2.5 (Ubuntu package): before Ubuntu Pro

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

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

libruby3.0 (Ubuntu package): before 3.0.4-7ubuntu0.2

ruby3.0 (Ubuntu package): before 3.0.4-7ubuntu0.2

libruby3.1 (Ubuntu package): before 3.1.2-6ubuntu0.23.04.2

ruby3.1 (Ubuntu package): before 3.1.2-6ubuntu0.23.04.2

ruby2.3 (Ubuntu package): before Ubuntu Pro (Infra-only)

libruby2.3 (Ubuntu package): before Ubuntu Pro (Infra-only)

External links

http://ubuntu.com/security/notices/USN-6219-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. However, proof of concept for this vulnerability is available.

2) Incorrect Regular Expression

EUVDB-ID: #VU77803

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-36617

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 parsing URL. A remote attacker can pass specially crafted URL to the application and perform regular expression denial of service (ReDos) attack.

Note, the vulnerability exists due to incomplete fix for #VU74004 (CVE-2023-28755).

Mitigation

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

Vulnerable software versions

Ubuntu: 16.04 - 23.04

libruby2.5 (Ubuntu package): before Ubuntu Pro

ruby2.5 (Ubuntu package): before Ubuntu Pro

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

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

libruby3.0 (Ubuntu package): before 3.0.4-7ubuntu0.2

ruby3.0 (Ubuntu package): before 3.0.4-7ubuntu0.2

libruby3.1 (Ubuntu package): before 3.1.2-6ubuntu0.23.04.2

ruby3.1 (Ubuntu package): before 3.1.2-6ubuntu0.23.04.2

ruby2.3 (Ubuntu package): before Ubuntu Pro (Infra-only)

libruby2.3 (Ubuntu package): before Ubuntu Pro (Infra-only)

External links

http://ubuntu.com/security/notices/USN-6219-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###