{
  "threat_severity" : "Moderate",
  "public_date" : "2021-03-02T18:00:00Z",
  "bugzilla" : {
    "description" : "grub2: Stack buffer overflow in grub_parser_split_cmdline()",
    "id" : "1899966",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1899966"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-121",
  "details" : [ "A flaw was found in grub2 in versions prior to 2.06. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.", "A flaw was found in grub2. Variable names present are expanded in the supplied command line into their corresponding variable contents, using a 1kB stack buffer for temporary storage, without sufficient bounds checking. If the function is called with a command line that references a variable with a sufficiently large payload, it is possible to overflow the stack buffer, corrupt the stack frame and control execution which could also circumvent Secure Boot protections. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability." ],
  "acknowledgement" : "Red Hat would like to thank Chris Coulson (Canonical) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0699",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "grub2-1:2.02-0.87.el7_9.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.2 Advanced Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0704",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.2",
    "package" : "grub2-1:2.02-0.86.el7_2.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.3 Advanced Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0703",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.3",
    "package" : "grub2-1:2.02-0.86.el7_3.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Advanced Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0702",
    "cpe" : "cpe:/o:redhat:rhel_aus:7.4",
    "package" : "grub2-1:2.02-0.86.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Telco Extended Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0702",
    "cpe" : "cpe:/o:redhat:rhel_tus:7.4",
    "package" : "grub2-1:2.02-0.86.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0702",
    "cpe" : "cpe:/o:redhat:rhel_e4s:7.4",
    "package" : "grub2-1:2.02-0.86.el7_4.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.6 Extended Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0701",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.6",
    "package" : "grub2-1:2.02-0.86.el7_6.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7.7 Extended Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0700",
    "cpe" : "cpe:/o:redhat:rhel_eus:7.7",
    "package" : "grub2-1:2.02-0.86.el7_7.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0696",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "grub2-1:2.02-90.el8_3.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-05-18T00:00:00Z",
    "advisory" : "RHSA-2021:1734",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "shim-0:15.4-2.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-05-18T00:00:00Z",
    "advisory" : "RHSA-2021:1734",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "shim-unsigned-aarch64-0:15-7.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-05-18T00:00:00Z",
    "advisory" : "RHSA-2021:1734",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "shim-unsigned-x64-0:15.4-4.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-06-29T00:00:00Z",
    "advisory" : "RHSA-2021:2566",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "fwupd-0:1.5.9-1.el8_4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0698",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.1",
    "package" : "grub2-1:2.02-87.el8_1.2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-09-28T00:00:00Z",
    "advisory" : "RHSA-2021:3675",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.1",
    "package" : "fwupd-0:1.1.4-4.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-09-28T00:00:00Z",
    "advisory" : "RHSA-2021:3675",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.1",
    "package" : "shim-0:15.4-2.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-09-28T00:00:00Z",
    "advisory" : "RHSA-2021:3675",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.1",
    "package" : "shim-unsigned-aarch64-0:15-7.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Extended Update Support",
    "release_date" : "2021-09-28T00:00:00Z",
    "advisory" : "RHSA-2021:3675",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.1",
    "package" : "shim-unsigned-x64-0:15.4-4.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-03-02T00:00:00Z",
    "advisory" : "RHSA-2021:0697",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.2",
    "package" : "grub2-1:2.02-87.el8_2.3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-20T00:00:00Z",
    "advisory" : "RHSA-2021:2790",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.2",
    "package" : "fwupd-0:1.1.4-9.el8_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-20T00:00:00Z",
    "advisory" : "RHSA-2021:2790",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.2",
    "package" : "shim-0:15.4-2.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-20T00:00:00Z",
    "advisory" : "RHSA-2021:2790",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.2",
    "package" : "shim-unsigned-aarch64-0:15-7.el8_1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2021-07-20T00:00:00Z",
    "advisory" : "RHSA-2021:2790",
    "cpe" : "cpe:/o:redhat:rhel_eus:8.2",
    "package" : "shim-unsigned-x64-0:15.4-4.el8_1"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Affected",
    "package_name" : "fwupd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Affected",
    "package_name" : "fwupdate",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "shim",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-27749\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-27749" ],
  "name" : "CVE-2020-27749",
  "csaw" : false
}