ruby: Code injection via command argument of Shell#test / Shell#[]
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
Configuration 4 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| ruby:2.5-8040020200923213910.522a0ee4 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2021:2587 | 2021-06-29T00:00:00Z |
| ruby:2.6-8040020210430142949.522a0ee4 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2021:2588 | 2021-06-29T00:00:00Z |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | |||
| ruby:2.6-8010020220201152941.c27ad7f8 | cpe:/a:redhat:rhel_e4s:8.1 | RHSA-2022:0581 | 2022-02-21T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Extended Update Support | |||
| ruby:2.6-8020020220201131207.4cda2c84 | cpe:/a:redhat:rhel_eus:8.2 | RHSA-2022:0582 | 2022-02-21T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | |||
| rh-ruby25-ruby-0:2.5.9-9.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2021:2104 | 2021-05-26T00:00:00Z |
| rh-ruby26-ruby-0:2.6.7-119.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2021:2230 | 2021-06-03T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | |||
| rh-ruby25-ruby-0:2.5.9-9.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2021:2104 | 2021-05-26T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | |||
| rh-ruby25-ruby-0:2.5.9-9.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2021:2104 | 2021-05-26T00:00:00Z |
| rh-ruby26-ruby-0:2.6.7-119.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2021:2230 | 2021-06-03T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2007-1 | ruby2.1 security update |
Debian DLA |
DLA-2027-1 | jruby security update |
Debian DLA |
DLA-2330-1 | jruby security update |
Debian DLA |
DLA-3408-1 | jruby security update |
Debian DSA |
DSA-4586-1 | ruby2.5 security update |
Debian DSA |
DSA-4587-1 | ruby2.3 security update |
EUVD |
EUVD-2019-7061 | Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method. |
Ubuntu USN |
USN-4201-1 | Ruby vulnerabilities |
No CVSS v4.0
No CVSS v3.0
This CVE is not in the KEV list.
Exploit prediction score: 4.2% (4.187% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|