{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-28211.json"
      }
    ],
    "title": "edk2: possible heap corruption with LzmaUefiDecompressGetInfo",
    "tracking": {
      "current_release_date": "2025-11-21T15:58:21+00:00",
      "generator": {
        "date": "2025-11-21T15:58:21+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.12"
        }
      },
      "id": "CVE-2021-28211",
      "initial_release_date": "2021-01-01T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2021-01-01T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2022-04-17T21:01:39+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2025-11-21T15:58:21+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 7",
                "product": {
                  "name": "Red Hat Enterprise Linux 7",
                  "product_id": "red_hat_enterprise_linux_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 9",
                "product": {
                  "name": "Red Hat Enterprise Linux 9",
                  "product_id": "red_hat_enterprise_linux_9",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:enterprise_linux:9"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 9"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux AppStream (v. 8)",
                "product": {
                  "name": "Red Hat Enterprise Linux AppStream (v. 8)",
                  "product_id": "AppStream-8.4.0.Z.MAIN.EUS",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:enterprise_linux:8::appstream"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "category": "product_version",
            "name": "OVMF",
            "product": {
              "name": "OVMF",
              "product_id": "OVMF",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/OVMF"
              }
            }
          },
          {
            "category": "product_version",
            "name": "ovmf.src",
            "product": {
              "name": "ovmf.src",
              "product_id": "ovmf.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/ovmf?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "AAVMF",
            "product": {
              "name": "AAVMF",
              "product_id": "AAVMF",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/AAVMF"
              }
            }
          },
          {
            "category": "product_version",
            "name": "edk2-aarch64",
            "product": {
              "name": "edk2-aarch64",
              "product_id": "edk2-aarch64",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/edk2-aarch64"
              }
            }
          },
          {
            "category": "product_version",
            "name": "edk2-ovmf",
            "product": {
              "name": "edk2-ovmf",
              "product_id": "edk2-ovmf",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/edk2-ovmf"
              }
            }
          },
          {
            "category": "product_version",
            "name": "edk2-tools-doc",
            "product": {
              "name": "edk2-tools-doc",
              "product_id": "edk2-tools-doc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/edk2-tools-doc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "edk2-tools",
            "product": {
              "name": "edk2-tools",
              "product_id": "edk2-tools",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/edk2-tools"
              }
            }
          },
          {
            "category": "product_version",
            "name": "edk2.src",
            "product": {
              "name": "edk2.src",
              "product_id": "edk2.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/edk2?arch=src"
              }
            }
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
                "product": {
                  "name": "edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
                  "product_id": "edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/edk2@20200602gitca407c7246bf-4.el8_4.1?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                "product": {
                  "name": "edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                  "product_id": "edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/edk2-aarch64@20200602gitca407c7246bf-4.el8_4.1?arch=noarch"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                "product": {
                  "name": "edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                  "product_id": "edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/edk2-ovmf@20200602gitca407c7246bf-4.el8_4.1?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-0:20200602gitca407c7246bf-4.el8_4.1.src as a component of Red Hat Enterprise Linux AppStream (v. 8)",
          "product_id": "AppStream-8.4.0.Z.MAIN.EUS:edk2-0:20200602gitca407c7246bf-4.el8_4.1.src"
        },
        "product_reference": "edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
        "relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
          "product_id": "AppStream-8.4.0.Z.MAIN.EUS:edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch"
        },
        "product_reference": "edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
        "relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)",
          "product_id": "AppStream-8.4.0.Z.MAIN.EUS:edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch"
        },
        "product_reference": "edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
        "relates_to_product_reference": "AppStream-8.4.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "AAVMF as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:AAVMF"
        },
        "product_reference": "AAVMF",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "OVMF as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:OVMF"
        },
        "product_reference": "OVMF",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "ovmf.src as a component of Red Hat Enterprise Linux 7",
          "product_id": "red_hat_enterprise_linux_7:ovmf.src"
        },
        "product_reference": "ovmf.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-aarch64 as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:edk2-aarch64"
        },
        "product_reference": "edk2-aarch64",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-ovmf as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:edk2-ovmf"
        },
        "product_reference": "edk2-ovmf",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-tools as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:edk2-tools"
        },
        "product_reference": "edk2-tools",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2-tools-doc as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:edk2-tools-doc"
        },
        "product_reference": "edk2-tools-doc",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "edk2.src as a component of Red Hat Enterprise Linux 9",
          "product_id": "red_hat_enterprise_linux_9:edk2.src"
        },
        "product_reference": "edk2.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_9"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2021-28211",
      "cwe": {
        "id": "CWE-120",
        "name": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')"
      },
      "discovery_date": "2020-09-29T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_enterprise_linux_9:edk2-aarch64",
            "red_hat_enterprise_linux_9:edk2-ovmf",
            "red_hat_enterprise_linux_9:edk2-tools",
            "red_hat_enterprise_linux_9:edk2-tools-doc",
            "red_hat_enterprise_linux_9:edk2.src"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1883529"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in edk2. A possible heap corruption in LzmaUefiDecompressGetInfo function may allow an attacker to execute code on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "edk2: possible heap corruption with LzmaUefiDecompressGetInfo",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AppStream-8.4.0.Z.MAIN.EUS:edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
          "AppStream-8.4.0.Z.MAIN.EUS:edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
          "AppStream-8.4.0.Z.MAIN.EUS:edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch"
        ],
        "known_affected": [
          "red_hat_enterprise_linux_7:AAVMF",
          "red_hat_enterprise_linux_7:OVMF",
          "red_hat_enterprise_linux_7:ovmf.src"
        ],
        "known_not_affected": [
          "red_hat_enterprise_linux_9:edk2-aarch64",
          "red_hat_enterprise_linux_9:edk2-ovmf",
          "red_hat_enterprise_linux_9:edk2-tools",
          "red_hat_enterprise_linux_9:edk2-tools-doc",
          "red_hat_enterprise_linux_9:edk2.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2021-28211"
        },
        {
          "category": "external",
          "summary": "RHBZ#1883529",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1883529"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2021-28211",
          "url": "https://www.cve.org/CVERecord?id=CVE-2021-28211"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2021-28211",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28211"
        }
      ],
      "release_date": "2020-11-19T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2021-06-29T16:12:54+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2021:2591"
        },
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_enterprise_linux_7:AAVMF",
            "red_hat_enterprise_linux_7:OVMF",
            "red_hat_enterprise_linux_7:ovmf.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.7,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
            "red_hat_enterprise_linux_7:AAVMF",
            "red_hat_enterprise_linux_7:OVMF",
            "red_hat_enterprise_linux_7:ovmf.src",
            "red_hat_enterprise_linux_9:edk2-aarch64",
            "red_hat_enterprise_linux_9:edk2-ovmf",
            "red_hat_enterprise_linux_9:edk2-tools",
            "red_hat_enterprise_linux_9:edk2-tools-doc",
            "red_hat_enterprise_linux_9:edk2.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-0:20200602gitca407c7246bf-4.el8_4.1.src",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-aarch64-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
            "AppStream-8.4.0.Z.MAIN.EUS:edk2-ovmf-0:20200602gitca407c7246bf-4.el8_4.1.noarch",
            "red_hat_enterprise_linux_7:AAVMF",
            "red_hat_enterprise_linux_7:OVMF",
            "red_hat_enterprise_linux_7:ovmf.src",
            "red_hat_enterprise_linux_9:edk2-aarch64",
            "red_hat_enterprise_linux_9:edk2-ovmf",
            "red_hat_enterprise_linux_9:edk2-tools",
            "red_hat_enterprise_linux_9:edk2-tools-doc",
            "red_hat_enterprise_linux_9:edk2.src"
          ]
        }
      ],
      "title": "edk2: possible heap corruption with LzmaUefiDecompressGetInfo"
    }
  ]
}