CVE-2021-31799
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.5
Description
RHSA-2022:0672: ruby:2.5 security update (Moderate)
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 9.3.0.0-1 | |
| sles | affected | | |
| rocky | 8 | fixed | |
| debian | bullseye | fixed | 2.7.4-1 |
| almalinux | 8 | fixed | rubygem-io-console-0.4.7-108.module_el8.5.0+2623+08a8ba32.aarch64.rpm |
| rhel | 8 | fixed | |
References
- https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/
- https://security.archlinux.org/ASA-202107-18
- https://www.suse.com/security/cve/CVE-2021-31799.html
- https://errata.rockylinux.org/RLSA-2022:0672
- https://errata.rockylinux.org/RLSA-2022:0543
- https://errata.rockylinux.org/RLSA-2021:3020
- https://nvd.nist.gov/vuln/detail/CVE-2021-31799
- https://github.com/ruby/rdoc/commit/a7f5d6ab88632b3b482fe10611382ff73d14eed7
- https://github.com/ruby/rdoc
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rdoc/CVE-2021-31799.yml
- https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html
- https://security-tracker.debian.org/tracker/CVE-2021-31799
- https://security.gentoo.org/glsa/202401-05
- https://security.netapp.com/advisory/ntap-20210902-0004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc
- https://access.redhat.com/errata/RHSA-2022:0672
- https://bugzilla.redhat.com/1980126
- https://bugzilla.redhat.com/1980128
- https://bugzilla.redhat.com/1980132
- https://errata.almalinux.org/8/ALSA-2022-0672.html
- https://errata.almalinux.org/8/ALSA-2021-3020.html
- https://errata.almalinux.org/8/ALSA-2022-0543.html
- https://access.redhat.com/errata/RHSA-2021:3020
- https://access.redhat.com/errata/RHSA-2022:0543
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.