Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2023-2146

Active Important

ALAS2-2023-2146 (important): grub2

Published
19 Jul 2023
Updated
19 Jul 2023

Related CVEs

CVE identifiers linked by this publisher.

9
Publisher relationship details 9 records

Description

A flaw was found in grub 2, where a crafted 16-bit grayscale PNG image may lead to an out-of-bounds write. This flaw allows an attacker to corrupt the data on the heap portion of the grub2's memory, leading to possible code execution and the circumvention of the secure boot mechanism. (CVE-2021-3695) A flaw was found in grub2 when handling a PNG image

Read full publisher description 2937 characters

A flaw was found in grub 2, where a crafted 16-bit grayscale PNG image may lead to an out-of-bounds write. This flaw allows an attacker to corrupt the data on the heap portion of the grub2's memory, leading to possible code execution and the circumvention of the secure boot mechanism. (CVE-2021-3695) A flaw was found in grub2 when handling a PNG image header. When decoding the data contained in the Huffman table at the PNG file header, an out-of-bounds write may happen on grub's heap. (CVE-2021-3696) A flaw was found in grub2 when handling JPEG images. This flaw allows an attacker to craft a malicious JPEG image, which leads to an underflow on a grub2's internal pointer, leading to a heap-based out-of-bounds write. Secure-boot mechanisms circumvention and arbitrary code execution may also be achievable. (CVE-2021-3697) A flaw was found where a maliciously crafted pf2 font could lead to an out-of-bounds write in grub2. A successful attack can lead to memory corruption and secure boot circumvention. (CVE-2022-2601) A flaw was found in grub2 when handling IPv4 packets. This flaw allows an attacker to craft a malicious packet, triggering an integer underflow in grub code. Consequently, the memory allocation for handling the packet data may be smaller than the size needed. This issue causes an out-of-bands write during packet handling, compromising data integrity, confidentiality issues, a denial of service, and remote code execution. (CVE-2022-28733) A flaw was found in grub2 when handling split HTTP headers. While processing a split HTTP header, grub2 wrongly advances its control pointer to the internal buffer by one position, which can lead to an out-of-bounds write. This flaw allows an attacker to leverage this issue by crafting a malicious set of HTTP packages making grub2 corrupt its internal memory metadata structure. This leads to data integrity and confidentiality issues or forces grub to crash, resulting in a denial of service attack. (CVE-2022-28734) A flaw was found in grub2. The shim_lock verifier from grub2 allows non-kernel files to be loaded when secure boot is enabled, giving the possibility of unverified code or modules to be loaded when it should not be allowed. (CVE-2022-28735) A use-after-free vulnerability was found on grub2's chainloader command. This flaw allows an attacker to gain access to restricted data or cause arbitrary code execution if they can establish control from grub's memory allocation pattern. (CVE-2022-28736) A flaw was found in the grub2 font code. When rendering certain unicode sequences, it fails to properly validate the font width and height. These values are further used to access the font buffer, causing possible out-of-bounds writes. A malicious actor may craft a font capable of triggering this issue, allowing modifications in unauthorized memory segments, causing data integrity problems or leading to denial of service. (CVE-2022-3775)

Solution

Run yum update grub2 or yum update --advisory ALAS2-2023-2146 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1grub2

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • grub2-2.06-14.amzn2.aarch64
    • grub2-tools-2.06-14.amzn2.aarch64
    • grub2-tools-minimal-2.06-14.amzn2.aarch64
    • grub2-tools-extra-2.06-14.amzn2.aarch64
    • grub2-efi-aa64-2.06-14.amzn2.aarch64
    • grub2-efi-aa64-ec2-2.06-14.amzn2.aarch64
    • grub2-efi-aa64-cdboot-2.06-14.amzn2.aarch64
    • grub2-emu-2.06-14.amzn2.aarch64
    • grub2-emu-modules-2.06-14.amzn2.aarch64
    • grub2-debuginfo-2.06-14.amzn2.aarch64
  2. 2grub2

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • grub2-common-2.06-14.amzn2.noarch
    • grub2-efi-x64-modules-2.06-14.amzn2.noarch
    • grub2-pc-modules-2.06-14.amzn2.noarch
    • grub2-efi-aa64-modules-2.06-14.amzn2.noarch
  3. 3grub2

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • grub2-2.06-14.amzn2.src
  4. 4grub2

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • grub2-2.06-14.amzn2.x86_64
    • grub2-tools-2.06-14.amzn2.x86_64
    • grub2-tools-efi-2.06-14.amzn2.x86_64
    • grub2-tools-minimal-2.06-14.amzn2.x86_64
    • grub2-tools-extra-2.06-14.amzn2.x86_64
    • grub2-efi-x64-2.06-14.amzn2.x86_64
    • grub2-efi-x64-ec2-2.06-14.amzn2.x86_64
    • grub2-efi-x64-cdboot-2.06-14.amzn2.x86_64
    • grub2-pc-2.06-14.amzn2.x86_64
    • grub2-emu-2.06-14.amzn2.x86_64
    • grub2-emu-modules-2.06-14.amzn2.x86_64
    • grub2-debuginfo-2.06-14.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

18
  • CVE-2021-3695 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3695
  • CVE-2021-3696 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3696
  • CVE-2021-3697 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3697
  • CVE-2022-2601 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-2601
  • CVE-2022-28733 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-28733
  • CVE-2022-28734 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-28734
  • CVE-2022-28735 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-28735
  • CVE-2022-28736 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-28736
  • CVE-2022-3775 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-3775
  • CVE-2021-3695 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3695
  • CVE-2021-3696 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3696
  • CVE-2021-3697 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3697
  • CVE-2022-2601 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2601
  • CVE-2022-28733 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28733
  • CVE-2022-28734 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28734
  • CVE-2022-28735 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28735
  • CVE-2022-28736 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28736
  • CVE-2022-3775 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3775

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2023-2146.htmlUnknown154cb3ee145abafbd77125889968983922e9e1d4168df841ed8c4770abb689faamazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2146.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2023-2146.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected