{"id":"CVE-2021-22212","published":"2021-06-08T12:07:02Z","modified":"2024-08-03T18:37:18Z","title":"ntpkeygen can generate keys that ntpd fails to parse","vendor":"NTPsec","product":"ntpsec","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00522,"percentile":0.37642,"provenance":"source"},"cwes":[],"references":[{"url":"https://gitlab.com/NTPsec/ntpsec/-/issues/699","tags":["x_refsource_MISC"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1955859","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3GIT2HYL5BQXPGKI6ZDNG473IEQ5WQF2/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":7.53},{"name":"CVSS severity","points":2.8}]},"vendorSlug":"ntpsec","affectedVersions":[{"vendor":"NTPsec","product":"ntpsec","versions":["=1.2.0"]}],"euvd":{"id":"EUVD-2021-9358","exploited":false,"provenance":"source"}}