[GLSA-202406-03] RDoc: Remote Code Execution
A vulnerability has been discovered in RDoc, which can lead to execution of arbitrary code.
Background
RDoc produces HTML and command-line documentation for Ruby projects.
Description
A vulnerability has been discovered in RDoc. Please review the CVE identifier referenced below for details.
Impact
When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored.
When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache.
Workaround
There is no known workaround at this time.
Resolution
All RDoc users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-ruby/rdoc-6.6.3.1"
Package | Affected Version |
---|---|
![]() |
< 6.6.3.1 |
Package | Unaffected Version |
---|---|
![]() |
>= 6.6.3.1 |
- ID
- GLSA-202406-03
- Severity
- high
- URL
- https://security.gentoo.org/glsa/202406-03
- Published
-
2024-06-22T00:00:00
(2 months ago) - Modified
-
2024-06-22T00:00:00
(2 months ago) - Rights
- Gentoo Foundation, Inc.
- Other Advisories
-
-
ALPINE:CVE-2024-27281
-
ALSA-2024:3500
-
ALSA-2024:3546
-
ALSA-2024:3668
-
ALSA-2024:3670
-
ALSA-2024:3671
-
ALSA-2024:3838
-
ALSA-2024:4499
-
DSA-5677-1
-
ELSA-2024-3500
-
ELSA-2024-3546
-
ELSA-2024-3668
-
ELSA-2024-3670
-
ELSA-2024-3671
-
ELSA-2024-3838
-
ELSA-2024-4499
-
FEDORA-2024-14db7b21a2
-
FEDORA-2024-31cac8b8ec
-
FEDORA-2024-48bdd3abbf
-
RHSA-2024:3500
-
RHSA-2024:3546
-
RHSA-2024:3668
-
RHSA-2024:3670
-
RHSA-2024:3671
-
RHSA-2024:3838
-
RHSA-2024:4499
-
RUBYSEC:RDOC-2024-27281
-
SSA:2024-114-01
-
USN-6838-1
-
Source | # ID | Name | URL |
---|---|---|---|
CVE | CVE-2024-27281 | CVE-2024-27281 |
|
Bugzilla | 927565 | Bugzilla #927565 |
|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | Exploits | PoC | Pubblication Date | Modification Date |
---|---|---|---|---|---|---|---|---|---|---|---|
# CVE | Description | CVSS | EPSS | EPSS Trend (30 days) | Affected Products | Weaknesses | Security Advisories | PoC | Pubblication Date | Modification Date |