{"id":"CVE-2022-3500","aliases":["CVE-2022-3500","GHSA-hff2-x2j9-gxgv","PYSEC-2022-42995"],"related":[],"kind":"vulnerability","state":"published","title":"Keylime: unhandled exceptions could lead to invalid attestation states","summary":"A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability was found in keylime. This security issue happens in some circumstances, due to some improperly handled exceptions, there exists the possibility that a rogue agent could create errors on the verifier that stopped attestation attempts for that host leaving it in an attested state but not verifying that anymore.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThis vulnerability creates a false sense of security for keylime users -- i.e. a user could query keylime and conclude that a parcitular node/agent is correctly attested, while attestations are not in fact taking place.\n\n**Short explanation**: the keylime verifier creates periodic reports on the state of each attested agent. The keylime verifier runs a set of python asynchronous processes to challenge attested nodes and create reports on the outcome. \n\nThe vulnerability consists of the above named python asynchronous processes failing silently, i.e. quitting without leaving behind a database entry, raising an error or producing even a mention of an error in a log. The silent failure can be triggered by a small set of transient network failure conditions; recoverable device driver crashes being one such condition we saw in the wild.\n\n### Patches\n\nThe problem is fixed in keylime starting with tag 6.5.1\n\n### Workarounds\n\nThis [patch](https://github.com/keylime/keylime/pull/1128/files) can be retroactively applied to any running keylime deployment.\nOnly running verifiers need to be patched.\nAfter the patch is applied, the keylime verifier needs to be restarted.\n\n### References\n\nThe problem, as well as the proposed fix, are described in detail [here](https://github.com/keylime/keylime/pull/1128).\nFurther details about the system where the bug was found, and the conditions in which the bug was found, are available from @galmasi on demand.\n\n### For more information\n\nIf you have any questions or comments about this [advisory](https://github.com/keylime/keylime/security/advisories/GHSA-hff2-x2j9-gxgv), please comment at the bottom of the advisory itself.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se encontró una vulnerabilidad en keylime. Este problema de seguridad ocurre en algunas circunstancias, debido a algunas excepciones manejadas incorrectamente, existe la posibilidad de que un agente deshonesto pueda crear errores en el verificador que detuviera los intentos de atestación para ese host dejándolo en un estado atestado pero sin verificarlo más.","source":"nvd"}],"published":"2022-10-28T19:19:42.000Z","modified":"2026-06-17T04:59:38.730Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-248"],"affected":[{"ranges":[{"version":"keylime 6.5.2","status":"affected"}],"product":"keylime","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.1"}],"ecosystem":"PyPI","package":"keylime","purl":"pkg:pypi/keylime","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.5.1"}],"vendor":"keylime","product":"keylime","cpe":"cpe:2.3:a:keylime:keylime:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"},{"status":"affected","version":"36"},{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.5.1"}],"ecosystem":"PyPI","package":"keylime","purl":"pkg:pypi/keylime","source":"pysec"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2022-3500","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/keylime/keylime/pull/1128","tags":["fix","issue-tracking","patch","report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQH5CJRX65QYMQN5WGUKKKE3IRJBWG5Z/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QX4XVCAUFGJ2I2NCTOKONTJGRJB2NBBT/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUTHMDVFNGGVPCNPOGULMJAAFEP7MEXP/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/keylime/keylime/security/advisories/GHSA-hff2-x2j9-gxgv","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3500","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keylime/keylime/commit/f969d397f92962b553f8c5bcbbeeb3bbdeca9456","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/keylime/keylime","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keylime/PYSEC-2022-42995.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PUTHMDVFNGGVPCNPOGULMJAAFEP7MEXP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QX4XVCAUFGJ2I2NCTOKONTJGRJB2NBBT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZQH5CJRX65QYMQN5WGUKKKE3IRJBWG5Z","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PUTHMDVFNGGVPCNPOGULMJAAFEP7MEXP","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QX4XVCAUFGJ2I2NCTOKONTJGRJB2NBBT","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZQH5CJRX65QYMQN5WGUKKKE3IRJBWG5Z","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-hff2-x2j9-gxgv","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-29T04:27:15.196Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-3500","url":"https://www.cve.org/CVERecord?id=CVE-2022-3500","licence":"CVE Terms of Use","modified":"2025-04-29T04:27:39.253Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hff2-x2j9-gxgv","url":"https://github.com/advisories/GHSA-hff2-x2j9-gxgv","licence":"CC-BY-4.0","modified":"2025-04-29T13:21:19.322Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-3500","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3500","licence":"Public domain","modified":"2026-06-17T04:59:38.730Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-42995","url":"https://osv.dev/vulnerability/PYSEC-2022-42995","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:53.724Z"}],"updatedAt":"2026-11-25T22:58:16.820Z","epss":{"score":0.00273,"percentile":0.21022,"date":"2026-12-01T12:00:22.000Z"}}