ubuntu-cve-2024-2312
Vulnerability from osv_ubuntu
Published
2024-04-05 00:00
Modified
2025-09-08 16:58
Summary
Details

GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu's peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "grub-common",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-coreboot",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-coreboot-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-amd64",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-amd64-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-arm",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-arm-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-arm64",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-arm64-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-ia32",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-efi-ia32-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-emu",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-firmware-qemu",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-ieee1275",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-ieee1275-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-linuxbios",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-pc",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-pc-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-rescue-pc",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-theme-starfield",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-uboot",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-uboot-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-xen",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub-xen-bin",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub2",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          },
          {
            "binary_name": "grub2-common",
            "binary_version": "2.02~beta2-9ubuntu1.21"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "grub2",
        "purl": "pkg:deb/ubuntu/grub2@2.02~beta2-9ubuntu1.21?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.00-19ubuntu2",
        "2.00-19ubuntu3",
        "2.00-19ubuntu4",
        "2.00-20",
        "2.00-21",
        "2.00-22",
        "2.02~beta2-5",
        "2.02~beta2-6",
        "2.02~beta2-7",
        "2.02~beta2-8",
        "2.02~beta2-9",
        "2.02~beta2-9ubuntu1",
        "2.02~beta2-9ubuntu1.1",
        "2.02~beta2-9ubuntu1.2",
        "2.02~beta2-9ubuntu1.3",
        "2.02~beta2-9ubuntu1.4",
        "2.02~beta2-9ubuntu1.5",
        "2.02~beta2-9ubuntu1.6",
        "2.02~beta2-9ubuntu1.7",
        "2.02~beta2-9ubuntu1.8",
        "2.02~beta2-9ubuntu1.11",
        "2.02~beta2-9ubuntu1.12",
        "2.02~beta2-9ubuntu1.14",
        "2.02~beta2-9ubuntu1.15",
        "2.02~beta2-9ubuntu1.16",
        "2.02~beta2-9ubuntu1.17",
        "2.02~beta2-9ubuntu1.20",
        "2.02~beta2-9ubuntu1.21"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "grub-efi-amd64-signed",
            "binary_version": "1.34.24+2.02~beta2-9ubuntu1.21"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "grub2-signed",
        "purl": "pkg:deb/ubuntu/grub2-signed@1.34.24?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.22",
        "1.23",
        "1.24",
        "1.25",
        "1.26",
        "1.27",
        "1.30",
        "1.31",
        "1.32",
        "1.33",
        "1.34",
        "1.34.1",
        "1.34.2",
        "1.34.3",
        "1.34.4",
        "1.34.5",
        "1.34.6",
        "1.34.7",
        "1.34.8",
        "1.34.9",
        "1.34.13",
        "1.34.14",
        "1.34.16",
        "1.34.17",
        "1.34.18",
        "1.34.20",
        "1.34.22",
        "1.34.24"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "grub-efi-amd64-signed",
            "binary_version": "1.202+2.12-1ubuntu7"
          },
          {
            "binary_name": "grub-efi-arm64-signed",
            "binary_version": "1.202+2.12-1ubuntu7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "grub2-signed",
        "purl": "pkg:deb/ubuntu/grub2-signed@1.202?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.202"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.197",
        "1.199",
        "1.201"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "grub-efi-amd64",
            "binary_version": "2.12-1ubuntu7"
          },
          {
            "binary_name": "grub-efi-amd64-bin",
            "binary_version": "2.12-1ubuntu7"
          },
          {
            "binary_name": "grub-efi-arm64",
            "binary_version": "2.12-1ubuntu7"
          },
          {
            "binary_name": "grub-efi-arm64-bin",
            "binary_version": "2.12-1ubuntu7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "grub2-unsigned",
        "purl": "pkg:deb/ubuntu/grub2-unsigned@2.12-1ubuntu7?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.12-1ubuntu7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.12~rc1-10ubuntu4",
        "2.12~rc1-12ubuntu2",
        "2.12-1ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "GRUB2 does not call the module fini functions on exit, leading to Debian/Ubuntu\u0027s peimage GRUB2 module leaving UEFI system table hooks after exit. This lead to a use-after-free condition, and could possibly lead to secure boot bypass.",
  "id": "UBUNTU-CVE-2024-2312",
  "modified": "2025-09-08T16:58:53Z",
  "published": "2024-04-05T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-2312"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-2312"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-2312"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…