CVE catalog

CVE-2021-3418

grub2 affected and fixed versions

[CVE catalog]

If certificates that signed grub are installed into db, grub can be booted directly. It will then boot any kernel without signature validation. The booted kernel will think it was booted in secureboot mode and will implement lockdown, yet it could have been tampered. This flaw is a reintroduction of CVE-2020-15705 and only affects grub2 versions prior to 2.06 and upstream and distributions using the shim_lock mechanism.

Severity
Medium · CVSS 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixiegrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debiantrixiegrub22.12-9+deb13u2Not affected[CVE-2021-3418]
Debiansidgrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debiansidgrub22.14-4Not affected[CVE-2021-3418]
Debianforkygrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debianforkygrub22.14-4Not affected[CVE-2021-3418]
Debianbookworm-securitygrub22.06-13+deb12u1Not affected[CVE-2021-3418]
Debianbookwormgrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debianbookwormgrub22.06-13+deb12u2Not affected[CVE-2021-3418]
Alpine3.24grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.23grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.22grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]

Showing 12 observations. All 17 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
Alpine3.17grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.18grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.19grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.20grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.21grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.22grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.23grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Alpine3.24grub2.06-r0UnknownSource applicability is not established[ALPINE-CVE-2021-3418]
Debianbookwormgrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debianbookwormgrub22.06-13+deb12u2Not affected[CVE-2021-3418]
Debianbookworm-securitygrub22.06-13+deb12u1Not affected[CVE-2021-3418]
Debianforkygrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debianforkygrub22.14-4Not affected[CVE-2021-3418]
Debiansidgrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debiansidgrub22.14-4Not affected[CVE-2021-3418]
Debiantrixiegrub2Not reportedNot affectedDistribution reports not affected[CVE-2021-3418]
Debiantrixiegrub22.12-9+deb13u2Not affected[CVE-2021-3418]
Original provider fields
{
  "package_releases": [
    {
      "name": "grub2",
      "status": "not affected",
      "release": "sid",
      "version": "2.14-4"
    },
    {
      "name": "grub2",
      "status": "not affected",
      "release": "forky",
      "version": "2.14-4"
    },
    {
      "name": "grub2",
      "status": "not affected",
      "release": "trixie",
      "version": "2.12-9+deb13u2"
    },
    {
      "name": "grub2",
      "status": "not affected",
      "release": "bookworm",
      "version": "2.06-13+deb12u2"
    },
    {
      "name": "grub2",
      "status": "not affected",
      "release": "bookworm-security",
      "version": "2.06-13+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "grub2",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "grub2",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "grub2",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "grub2",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.17",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.18",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.19",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.20",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.21",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.22",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.23",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    },
    {
      "name": "grub",
      "distro": "alpine",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.06-r0"
            }
          ]
        }
      ],
      "release": "3.24",
      "versions": [],
      "ecosystem": "apk",
      "provider_url": "https://osv.dev/vulnerability/ALPINE-CVE-2021-3418",
      "fixed_version": "2.06-r0",
      "provider_source": "pypi",
      "provider_record_id": "ALPINE-CVE-2021-3418",
      "provider_updated_at": "2026-10-23T17:17:56.192622650Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [grub2]Unknown
    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub2-common]Unknown

    Source package: [grub2]

    Details (6)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-common]Unknown

    Source package: [grub2]

    Details (6)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-coreboot]Unknown

    Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-efi]Unknown

    Source package: [grub2]

    Details (6)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · arm64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · arm64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · arm64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-efi-ia32]Unknown

    Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-emu]Unknown

    Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

  • [grub-emu-dbg]Unknown

    Source package: [grub2]

    Details (3)
    • 2.06-13+deb12u2 · amd64 · bookworm

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.12-1~bpo12+1 · amd64 · bookworm-backports

      Not affected

      dsa · grub2 · debian · bookworm

    • 2.06-13+deb12u1 · amd64 · bookworm-security

      Not affected

      dsa · grub2 · debian · bookworm

Next results

Observed:

References