CVE-2019-16255

Public on 2019-11-26
Modified on 2024-02-29
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.
Severity
Important severity
Important
CVSS v3 Base Score
8.1
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
HAQM Linux 2 - Core ruby 2024-02-29 ALAS2-2024-2486 Fixed
HAQM Linux 2 - Ruby2.6 Extra ruby 2023-08-21 ALAS2RUBY2.6-2023-007 Fixed
HAQM Linux 1 ruby24 2020-08-26 ALAS-2020-1422 Fixed
HAQM Linux 2023 ruby3.2 Not Affected

CVSS Scores

Score Type Score Vector
HAQM Linux CVSSv3 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv3 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P