{
  "cveId": "CVE-2024-2312",
  "url": "https://patchblox.com/security/cve/CVE-2024-2312",
  "summary": "CVE-2024-2312 is fixed in 8 products on 1 platform, first by grub-efi-amd64 2.12-1ubuntu7, released April 4, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "shim: This update for shim fixes the following issues:\n\nshim is updated to version 16.1:\n\n- shim_start_image(): fix guid/ha...",
  "description": "This update for shim fixes the following issues:\n\nshim is updated to version 16.1:\n\n- shim_start_image(): fix guid/handle pairing when uninstalling protocols\n- Fix uncompressed ipv6 netboot\n- fix test segfaults caused by uninitialized memory\n- SbatLevel_Variable.txt: minor typo fix.\n- Realloc() needs to allocate one more byte for sprintf()\n- IPv6: Add more check to avoid multiple double colon and illegal char\n- Loader proto v2\n- loader-protocol: add workaround for EDK2 2025.02 page fault on FreePages\n- Generate Authenticode for the entire PE file\n- README: mention new loader protocol and interaction with UKIs\n- shim: change automatically enable MOK_POLICY_REQUIRE_NX\n- Save var info\n- add SbatLevel entry 2025051000 for PSA-2025-00012-1\n- Coverity fixes 20250804\n- fix http boot\n- Fix double free and leak in the loader protocol\n\n\nshim is updated to version 16.0:\n\n\n- Validate that a supplied vendor cert is not in PEM format\n- sbat: Add grub.peimage,2 to latest (CVE-2024-2312)\n- sbat: Also bump latest for grub,4 (and to todays date)\n- undo change that limits certificate files to a single file\n- shim: don\u0027t set second_stage to the empty string\n- Fix SBAT.md for today\u0027s consensus about numbers\n- Update Code of Conduct contact address\n- make-certs: Handle missing OpenSSL installation\n- Update MokVars.txt\n- export DEFINES for sub makefile\n- Drop unused EFI_IMAGE_SECURITY_DATABASE_GUID definition\n- Null-terminate \u0027arguments\u0027 in fallback\n- Fix \u0027Verifiying\u0027 typo in error message\n- Update Fedora CI targets\n- Force gcc to produce DWARF4 so that gdb can use it\n- Minor housekeeping 2024121700\n- Discard load-options that start with WINDOWS\n- Fix the issue that the gBS-\u003ELoadImage pointer was empty.\n- shim: Allow data after the end of device path node in load options\n- Handle network file not found like disks\n- Update gnu-efi submodule for EFI_HTTP_ERROR\n- Increase EFI file alignment\n- avoid EFIv2 runtime services on Apple x86 machines\n- Improve shortcut performance when comparing two boolean expressions\n- Provide better error message when MokManager is not found\n- tpm: Boot with a warning if the event log is full\n- MokManager: remove redundant logical constraints\n- Test import_mok_state() when MokListRT would be bigger than available size\n- test-mok-mirror: minor bug fix\n- Fix file system browser hang when enrolling MOK from disk\n- Ignore a minor clang-tidy nit\n- Allow fallback to default loader when encountering errors on network boot\n- test.mk: don\u0027t use a temporary random.bin\n- pe: Enhance debug report for update_mem_attrs\n- Multiple certificate handling improvements\n- Generate SbatLevel Metadata from SbatLevel_Variable.txt\n- Apply EKU check with compile option\n- Add configuration option to boot an alternative 2nd stage\n- Loader protocol (with Device Path resolution support)\n- netboot cleanup for additional files\n- Document how revocations can be delivered\n- post-process-pe: add tests to validate NX compliance\n- regression: CopyMem() in ad8692e copies out of bounds\n- Save the debug and error logs in mok-variables\n- Add features for the Host Security ID program\n- Mirror some more efi variables to mok-variables\n- This adds DXE Services measurements to HSI and uses them for NX\n- Add shim\u0027s current NX_COMPAT status to HSIStatus\n- README.tpm: reflect that vendor_db is in fact logged as \u0027vendor_db\u0027\n- Reject HTTP message with duplicate Content-Length header fields\n- Disable log saving\n- fallback: don\u0027t add new boot order entries backwards\n- README.tpm: Update MokList entry to MokListRT\n- SBAT Level update for February 2025 GRUB CVEs",
  "published": "2024-04-04T17:00:00Z",
  "severity": "Medium",
  "cvss": 6.7,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.00378,
  "epssPercentile": 0.32011,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "grub-efi-amd64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-amd64 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-amd64-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-amd64",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-amd64 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-amd64-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-amd64-bin",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-amd64-bin 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-amd64-bin-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-amd64-bin",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-amd64-bin 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-amd64-bin-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-amd64-signed",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.202\u002B2.12-1ubuntu7",
      "fix": "grub-efi-amd64-signed 1.202\u002B2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-amd64-signed-1.202-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-amd64-signed",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "1.202\u002B2.12-1ubuntu7",
      "fix": "grub-efi-amd64-signed 1.202\u002B2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-amd64-signed-1.202-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-arm64 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-arm64-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-arm64 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-arm64-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64-bin",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-arm64-bin 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-arm64-bin-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64-bin",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "2.12-1ubuntu7",
      "fix": "grub-efi-arm64-bin 2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-arm64-bin-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64-signed",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "1.202\u002B2.12-1ubuntu7",
      "fix": "grub-efi-arm64-signed 1.202\u002B2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-grub-efi-arm64-signed-1.202-2.12-1ubuntu7",
      "released": "2024-04-04T17:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub-efi-arm64-signed",
      "release": "Ubuntu 24.10 (oracular)",
      "fixedVersion": "1.202\u002B2.12-1ubuntu7",
      "fix": "grub-efi-arm64-signed 1.202\u002B2.12-1ubuntu7",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-oracular-grub-efi-arm64-signed-1.202-2.12-1ubuntu7",
      "released": "2024-04-05T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "grub2",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.12-2",
      "fix": "DEBIAN-CVE-2024-2312",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-2312",
      "released": "2024-04-05T20:15:09Z"
    },
    {
      "platform": "linux",
      "product": "grub2",
      "release": "Debian 14",
      "fixedVersion": "2.12-2",
      "fix": "DEBIAN-CVE-2024-2312",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-2312",
      "released": "2024-04-05T20:15:09Z"
    },
    {
      "platform": "linux",
      "product": "shim",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "16.1-150300.4.31.3",
      "fix": "SUSE-SU-2026:0741-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0741-1",
      "released": "2026-03-02T08:11:15Z"
    },
    {
      "platform": "linux",
      "product": "shim",
      "release": "opensuse-leap 16.0",
      "fixedVersion": "16.1-160000.1.1",
      "fix": "OPENSUSE-RU-2026:20325-1",
      "url": "https://patchblox.com/security/fix/linux/opensuse-ru-2026-20325-1",
      "released": "2026-03-05T14:21:04Z"
    },
    {
      "platform": "linux",
      "product": "shim",
      "release": "sles 15.6",
      "fixedVersion": "16.1-150300.4.31.3",
      "fix": "SUSE-SU-2026:0741-2",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0741-2",
      "released": "2026-06-16T14:41:50Z"
    },
    {
      "platform": "linux",
      "product": "shim",
      "release": "sles 15.7",
      "fixedVersion": "16.1-150300.4.31.3",
      "fix": "SUSE-SU-2026:0741-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2026-0741-1",
      "released": "2026-03-02T08:11:15Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}