title: There's a use-after-free vulnerability in grub_cmd_chainloader() function
description: There's a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn't support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2's memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved.
affected:
{
packageName: grub2
product: GNU GRUB
vendor: GNU Project
repo: https://git.savannah.gnu.org/cgit/grub.git
platforms: Linux
versions:
lessThan: 2.06-3, status: affected, version: 0, versionType: semver
}
metrics:
format: CVSS
cvssV3_1: [
version: 3.1
attackVector: LOCAL
attackComplexity: HIGH
privilegesRequired: HIGH
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
vectorString: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
baseScore: 6.4
baseSeverity: MEDIUM
]