Skip to content
OpenAdvisories
High ALAS2-2024-2722 8 CVEs

Important: edk2 security update (Amazon Linux 2)

Published Dec 5, 2024 · Updated Dec 19, 2024

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-9143: Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial can lead to out-of-bounds memory reads or writes. Impact summary: Out of bound memory writes can lead to an application crash or even a possibility of a remote code execution, however, in all the protocols involving Elliptic Curve Cryptography that we're aware of, either only "named curves" are supported, or, if explicit curve parameters are supported, they specify an X9.62 encoding of binary (GF(2^m)) curves that can't represent problematic input values. Thus the likelihood of existence of a vulnerable application is low. In particular, the X9.62 encoding is used for ECC keys in X.509 certificates, so problematic inputs cannot occur in the context of processing X.509 certificates. Any problematic use-cases would have to be using an "exotic" curve encoding. The affected APIs include: EC_GROUP_new_curve_GF2m(), EC_GROUP_new_from_params(), and various supporting BN_GF2m_*() functions. Applications working with "exotic" explicit binary (GF(2^m)) curve parameters, that make it possible to represent invalid field polynomials with a zero constant term, via the above or similar APIs, may terminate abruptly as a result of reading or writing outside of array bounds. Remote code execution cannot easily be ruled out. The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue. CVE-2024-38796: EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). An Attacker may cause memory corruption due to an overflow via an adjacent network. A successful exploit of this vulnerability may lead to a loss of Confidentiality, Integrity, and/or Availability. CVE-2023-45237: EDK2's Network Package is susceptible to a predictable TCP Initial Sequence Number. This vulnerability can be exploited by an attacker to gain unauthorized access and potentially lead to a loss of Confidentiality. CVE-2023-45236: EDK2's Network Package is susceptible to a predictable TCP Initial Sequence Number. This vulnerability can be exploited by an attacker to gain unauthorized access and potentially lead to a loss of Confidentiality. CVE-2021-38578: Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize. CVE-2021-38576: A BIOS bug in firmware for a particular PC model leaves the Platform authorization value empty. This can be used to permanently brick the TPM in multiple ways, as well as to non-permanently DoS the system. CVE-2021-28216: BootPerformanceTable pointer is read from an NVRAM variable in PEI. Recommend setting PcdFirmwarePerformanceDataTableS3Support to FALSE. CVE-2021-28211: A heap overflow in LzmaUefiDecompressGetInfo function in EDK II.

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2 edk2-aarch64 0:20240813-296.amzn2
Amazon Linux · 2 edk2-debuginfo 0:20240813-296.amzn2
Amazon Linux · 2 edk2-ovmf 0:20240813-296.amzn2
Amazon Linux · 2 edk2-tools 0:20240813-296.amzn2
Amazon Linux · 2 edk2-tools-doc 0:20240813-296.amzn2

Vulnerabilities 8

  • High 8.8
    CVE-2024-9143 EPSS 12%

    Low-level invalid GF(2^m) parameters lead to OOB memory access

    Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted explicit values for the field polynomial can lead to out-of-bounds memory reads or writes. Impact summary: Out of bound memory writes can lead to an application crash or even a pos…

  • High 7.4

    Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

  • Medium 5.9

    Integer overflow in PeCoffLoaderRelocateImage

    EDK2 contains a vulnerability in the PeCoffLoaderRelocateImage(). An Attacker may cause memory corruption due to an overflow via an adjacent network. A successful exploit of this vulnerability may lead to a loss of Confidentiality, Integrity, and/or Availabil…

  • Medium 5.8

    Predictable TCP ISNs in EDK II Network Package

    EDK2's Network Package is susceptible to a predictable TCP Initial Sequence Number. This vulnerability can be exploited by an attacker to gain unauthorized access and potentially lead to a loss of Confidentiality.

  • Medium 5.3

    Use of a Weak PseudoRandom Number Generator in EDK II Network Package

    EDK2's Network Package is susceptible to a predictable TCP Initial Sequence Number. This vulnerability can be exploited by an attacker to gain unauthorized access and potentially lead to a loss of Confidentiality.

  • Unscored —

    A heap overflow in LzmaUefiDecompressGetInfo function in EDK II.

  • Unscored —

    BootPerformanceTable pointer is read from an NVRAM variable in PEI. Recommend setting PcdFirmwarePerformanceDataTableS3…

  • Unscored —

    A BIOS bug in firmware for a particular PC model leaves the Platform authorization value empty. This can be used to per…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-28211.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-28216.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-38576.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2021-38578.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-45236.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-45237.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-38796.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2024-9143.html