CVE-2019-16255

Source
https://cve.org/CVERecord?id=CVE-2019-16255
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-16255.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-16255
Downstream
Related
Published
2019-11-26T18:15:15.303Z
Modified
2026-03-20T11:28:24.442217Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/graalvm/graalvm-ce-builds

Affected ranges

Type
GIT
Repo
https://github.com/graalvm/graalvm-ce-builds
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "19.3.0.2"
        }
    ]
}
Type
GIT
Repo
https://github.com/ruby/ruby
Events
Database specific
{
    "versions": [
        {
            "introduced": "2.4.0"
        },
        {
            "last_affected": "2.4.7"
        },
        {
            "introduced": "2.5.0"
        },
        {
            "last_affected": "2.5.6"
        },
        {
            "introduced": "2.6.0"
        },
        {
            "last_affected": "2.6.4"
        }
    ]
}

Affected versions

vm-19.*
vm-19.3.0
vm-19.3.0.2

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "9.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.1"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-16255.json"