nitro-tpm-pcr-compute may allow kernel command line modification by an account operator
Affects nitro-tpm-pcr-computeSource GCVE Database
CVSS 6.0 Medium : upgrade to 1.1.0 when convenient.
Data as of 25 Nov 2026, 03:59 UTC
- Patch
- Available – fixed in 1.1.0
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NWhat to do
Upgrade nitro-tpm-pcr-compute to 1.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.ionitro-tpm-pcr-compute | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in nitro-tpm-pcr-compute version 1.1.0 that adds PCR12 validation with a static zero value. Users should upgrade to version 1.1.0 to ensure proper measurement of kernel command line modifications. For those unable to upgrade immediately, workarounds include manually adding PCR12 with a static zero value to AWS KMS key policies or enabling UEFI Secure Boot and validating PCR7 in KMS policies to prevent command line tampering.
Description
The nitro-tpm-pcr-compute tool prior to version 1.1.0 does not validate PCR12, allowing account operators to modify kernel command line parameters when UEFI Secure Boot is disabled. This can bypass root filesystem integrity validation by appending malicious command line arguments without altering PCR4. Version 1.1.0 introduces PCR12 measurement with a static zero value to prevent this. Workarounds include manually adding PCR12 to KMS policies or enabling UEFI Secure Boot and validating PCR7.
References
- github.com/aws/nitrotpm-attestation-samples/security/advisories/GHSA-xrv8-2pf5-f3q7 (opens in a new tab)
- docs.aws.amazon.com/AWSEC2/latest/UserGuide/attestable-ami.html (opens in a new tab)
- docs.aws.amazon.com/AWSEC2/latest/UserGuide/uefi-secure-boot.html (opens in a new tab)
- github.com/aws/NitroTPM-Tools (opens in a new tab)
- github.com/aws/NitroTPM-Tools/blob/main/CHANGELOG.md (opens in a new tab)
- github.com/aws/NitroTPM-Tools/releases/tag/v1.1.0 (opens in a new tab)
- github.com/aws/nitrotpm-attestation-samples (opens in a new tab)
- freedesktop.org/software/systemd/man/latest/systemd-stub.html (opens in a new tab)