CVE-2022-1053
https://notcve.org/view.php?id=CVE-2022-1053
Keylime does not enforce that the agent registrar data is the same when the tenant uses it for validation of the EK and identity quote and the verifier for validating the integrity quote. This allows an attacker to use one AK, EK pair from a real TPM to pass EK validation and give the verifier an AK of a software TPM. A successful attack breaks the entire chain of trust because a not validated AK is used by the verifier. This issue is worse if the validation happens first and then the agent gets added to the verifier because the timing is easier and the verifier does not validate the regcount entry being equal to 1, Keylime no hace valer que los datos de registro del agente sean los mismos cuando el inquilino lo usa para la comprobación del EK y la cita de identidad y el verificador para comprobar la cita de integridad. Esto permite a un atacante usar un par AK, EK de un TPM real para pasar la comprobación del EK y dar al verificador un AK de un TPM de software. • https://bugzilla.redhat.com/show_bug.cgi?id=2065024%2C https://github.com/keylime/keylime/commit/bd5de712acdd77860e7dc58969181e16c7a8dc5d https://github.com/keylime/keylime/security/advisories/GHSA-jf66-3q76-h5p5%2C https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7WAKVXM7L5D2DUACV6EHA6EJNAX2GVL https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RF6QHU4UGSBATC3HOOE7OP66CYVTR7CV https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject& • CWE-20: Improper Input Validation •
CVE-2021-3406
https://notcve.org/view.php?id=CVE-2021-3406
A flaw was found in keylime 5.8.1 and older. The issue in the Keylime agent and registrar code invalidates the cryptographic chain of trust from the Endorsement Key certificate to agent attestations. Se encontró un fallo en keylime versiones 5.8.1 y anteriores. El problema en el agente de Keylime y el código registrar invalida la cadena criptográfica confiable desde el certificado Endorsement Key hasta las atestaciones del agente • https://bugzilla.redhat.com/show_bug.cgi?id=1932469 https://github.com/keylime/keylime/security/advisories/GHSA-78f8-6c68-375m https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YAWKEF2LVXUME266T6RNRVBGAD375QAT • CWE-295: Improper Certificate Validation CWE-347: Improper Verification of Cryptographic Signature •