CVE-2019-16255
8.1
HIGH
CVSS 3.1
EPSS 1.2%
Description
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.
How to fix CVE-2019-16255
To remediate CVE-2019-16255, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.5.7-r0 or later
- —upgrade to 9.3.9.0+ds-1 or later
Is CVE-2019-16255 being exploited?
Low — EPSS is 1.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.5.7-r0
- from 0, < 9.3.9.0+ds-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |