CVE & CISA-KEV Catalog

CVE-2019-16255

HIGHEPSS 90th pctl
8.1
CVSS v3
NVD

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

Remediation Available
jrubyDebian
Fixed in:9.3.9.0+ds-1CVE-2019-16255
Fixed in:9.3.9.0+ds-1CVE-2019-16255
Fixed in:9.3.9.0+ds-1CVE-2019-16255
libruby2.3Ubuntu
Fixed in:2.3.1-2~ubuntu16.04.14USN-4201-1
libruby2.5Ubuntu
Fixed in:2.5.1-1ubuntu1.6USN-4201-1
ruby2.3Ubuntu
Fixed in:2.3.1-2~ubuntu16.04.14USN-4201-1
ruby2.5Ubuntu
Fixed in:2.5.1-1ubuntu1.6USN-4201-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

4.22%probability of exploitation in 30 days
90thpercentile

Elevated risk: more likely to be exploited than 90% of all known CVEs.

References

Related Vulnerabilities

Other CWE-94 (Code Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-9841Critical9.8100%KEVFix
CVE-2015-1635Critical9.8100%KEV-
CVE-2022-22954Critical9.8100%KEV + Ransom-
CVE-2021-22204Medium6.8100%KEVFix
CVE-2025-3248Critical9.8100%KEVFix
CVE-2012-0158High8.8100%KEV-
Embed a live status badge for CVE-2019-16255
CVE-2019-16255 severity badge

Markdown

[![CVE-2019-16255](https://tridentstack.com/cve/badge/CVE-2019-16255.svg)](https://tridentstack.com/cve/CVE-2019-16255)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-16255"><img src="https://tridentstack.com/cve/badge/CVE-2019-16255.svg" alt="CVE-2019-16255"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.