VDB

ALPINE-CVE-2021-31799

ALPINE-CVE-2021-31799 PUBLISHED CVSS 7 HIGH

In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.

Risk Scores

CVSS v3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.13ruby1.8.7_p174-r6, 2.6.5-r0, 2.6.5-r2
Alpine:v3.17ruby*, 2.2.4-r0, *
Alpine:v3.12ruby2.2.2-r0, 2.2.3-r0, 2.3.1-r1
Alpine:v3.21ruby0, 0, 0
Alpine:v3.11ruby1.8.7_p72-r2, 2.6.7-r0, 2.6.6-r3
Alpine:v3.18ruby2.3.3-r1, 2.4.0-r3, 2.4.1-r1
Alpine:v3.14ruby2.5.3-r1, *, *
Alpine:v3.15ruby2.3.3-r2, 0, 1.8.7_p160-r2
Alpine:v3.16ruby1.8.7_p174-r6, 2.7.3-r1, 2.7.3-r0
Alpine:v3.22ruby0, 0, 0
Alpine:v3.20ruby0, 0, 0
Alpine:v3.19ruby2.7.2-r4, 2.7.3-r0, 2.7.3-r1
Alpine:v3.23ruby0, 0, 0

Timeline

  • Jul 30, 2021 CVE Published
  • Dec 3, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›