USN-6838-1 fixed CVE-2024-27281 in Ruby 2.7, Ruby 3.0, Ruby 3.1, and Ruby 3.2. This update provides the corresponding updates for Ruby 2.3 and Ruby 2.5.
Original advisory details:
It was discovered that Ruby RDoc incorrectly parsed certain YAML files. If a user or automated system were tricked into parsing a specially crafted .rdoc_options file, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2024-27281)
{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm9",
"binary_name": "libruby2.3"
},
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm9",
"binary_name": "ruby2.3"
},
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm9",
"binary_name": "ruby2.3-dev"
},
{
"binary_version": "2.3.1-2~ubuntu16.04.16+esm9",
"binary_name": "ruby2.3-tcltk"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6838-2.json"
{
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"cves": [
{
"id": "CVE-2024-27281",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}
{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "2.5.1-1ubuntu1.16+esm3",
"binary_name": "libruby2.5"
},
{
"binary_version": "2.5.1-1ubuntu1.16+esm3",
"binary_name": "ruby2.5"
},
{
"binary_version": "2.5.1-1ubuntu1.16+esm3",
"binary_name": "ruby2.5-dev"
}
]
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6838-2.json"
{
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"cves": [
{
"id": "CVE-2024-27281",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
]
}
]
}