CVEvulnerability

CVE-2019-16255

8.1 HIGH Published 2019-11-26 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-11-26
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-94

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.

Affected configurations

• ruby-lang ruby (>= 2.4.0 <= 2.4.7) • ruby-lang ruby (>= 2.5.0 <= 2.5.6) • ruby-lang ruby (>= 2.6.0 <= 2.6.4) • debian debian linux 8.0 • debian debian linux 9.0 • opensuse leap 15.1 • oracle graalvm 19.3.0.2

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References