CVE-2021-31799
ruby2.3 - security update
7.0
HIGH
CVSS 3.1
EPSS 0.35%
Description
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.
How to fix CVE-2021-31799
To remediate CVE-2021-31799, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.6.8-r0 or later
- Debian/ruby2.3—upgrade to 2.3.3-1+deb9u10 or later
- —upgrade to 2.7.4-1 or later
- —upgrade to 6.1.2.1 or later
Is CVE-2021-31799 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.6.8-r0
- from 0, < 2.3.3-1+deb9u10
- from 0, < 2.7.4-1
- >= 3.11, < 6.1.2.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |