CVE-2021-22212: High severity ntpsec vulnerability
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 Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2021-22212?
CVE-2021-22212 has a medium severity rating due to potential mismanagement of keys in NTPsec.
How do I fix CVE-2021-22212?
To fix CVE-2021-22212, users should avoid using '#' characters in keys generated by ntpkeygen.
Which versions of NTPsec are affected by CVE-2021-22212?
CVE-2021-22212 affects NTPsec version 1.2.0.
What consequence does CVE-2021-22212 have for administrators?
Administrators may find that keys created with '#' characters are either improperly loaded or unusable, leading to potential service disruption.
Is CVE-2021-22212 a vulnerability in Fedora?
Yes, CVE-2021-22212 impacts Fedora 34 due to its use of the affected NTPsec version.