Code Injection Affecting rdoc package, versions <6.3.4.1 >=6.4.0, <6.4.1.1 >=6.5.0, <6.5.1.1
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-RDOC-6476871
- published 22 Mar 2024
- disclosed 21 Mar 2024
- credit ooooooo_q
Introduced: 21 Mar 2024
CVE-2024-27281 Open this link in a new tabHow to fix?
Upgrade rdoc
to version 6.3.4.1, 6.4.1.1, 6.5.1.1 or higher.
Overview
Affected versions of this package are vulnerable to Code Injection due to the parsing of .rdoc_options
as a YAML file without restrictions on the classes that can be restored. An attacker can execute arbitrary code remotely by crafting malicious .rdoc_options
files.
References
CVSS Scores
version 3.1