{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-22212","published":"2021-06-08T13:15:07.567000Z","last_modified":"2026-06-17T03:36:48.917000Z","status":"Modified","cvss":{"version":"3.1","score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-327"],"cpes":[{"criteria":"cpe:2.3:a:ntpsec:ntpsec:1.2.0:*:*:*:*:*:*:*","part":"a","vendor":"ntpsec","product":"ntpsec","version":"1.2.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["ntpsec","fedoraproject"],"products":["ntpsec/ntpsec","fedoraproject/fedora"],"epss":{"score":0.00522,"percentile":0.45783,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":59,"links":{"html_es":"/es/cve/CVE-2021-22212/","html_en":"/en/cve/CVE-2021-22212/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22212","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22212"},"untrusted":{"vendor_name":"Ntpsec","product_name":"Ntpsec","desc_en":"ntpkeygen can generate keys that ntpd fails to parse. NTPsec 1.2.0 allows ntpkeygen to generate keys with '#' characters. ntpd then either pads, shortens the key, or fails to load these keys entirely, depending on the key type and the placement of the '#'. This results in the administrator not being able to use the keys as expected or the keys are shorter than expected and easier to brute-force, possibly resulting in MITM attacks between ntp clients and ntp servers. For short AES128 keys, ntpd generates a warning that it is padding them.","affected":[{"untrusted_vendor":"NTPsec","untrusted_product":"ntpsec","versions":[]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955859","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://gitlab.com/NTPsec/ntpsec/-/issues/699","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json","tags":["Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3GIT2HYL5BQXPGKI6ZDNG473IEQ5WQF2/","tags":[]}]}}