#VU87692 Input validation error in RDoc


Published: 2024-03-21

Vulnerability identifier: #VU87692

Vulnerability risk: High

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

CVE-ID: CVE-2024-27281

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
RDoc
Web applications / Modules and components for CMS

Vendor: Ruby

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 website.

Vulnerable software versions

RDoc: 6.3.0 - 6.6.3


External links
http://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/


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.


Latest bulletins with this vulnerability