In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.
{
"binaries": [
{
"binary_name": "libruby1.9.1",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "libtcltk-ruby1.9.1",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ri1.9.1",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ruby1.9.1",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ruby1.9.1-dev",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ruby1.9.1-examples",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ruby1.9.1-full",
"binary_version": "1.9.3.484-2ubuntu1.11"
},
{
"binary_name": "ruby1.9.3",
"binary_version": "1.9.3.484-2ubuntu1.11"
}
],
"availability": "No subscription required"
}
{
"binaries": [
{
"binary_name": "libruby2.0",
"binary_version": "2.0.0.484-1ubuntu2.9"
},
{
"binary_name": "ruby2.0",
"binary_version": "2.0.0.484-1ubuntu2.9"
},
{
"binary_name": "ruby2.0-dev",
"binary_version": "2.0.0.484-1ubuntu2.9"
},
{
"binary_name": "ruby2.0-tcltk",
"binary_version": "2.0.0.484-1ubuntu2.9"
}
],
"availability": "No subscription required"
}
{
"binaries": [
{
"binary_name": "libruby2.3",
"binary_version": "2.3.1-2~16.04.9"
},
{
"binary_name": "ruby2.3",
"binary_version": "2.3.1-2~16.04.9"
},
{
"binary_name": "ruby2.3-dev",
"binary_version": "2.3.1-2~16.04.9"
},
{
"binary_name": "ruby2.3-tcltk",
"binary_version": "2.3.1-2~16.04.9"
}
],
"availability": "No subscription required"
}