CVE-2021-22212

Summary

CVECVE-2021-22212
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-06-08 13:15:00 UTC
Updated2023-11-07 03:30:00 UTC
Descriptionntpkeygen 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.

Risk And Classification

Problem Types: CWE-327

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Application Ntpsec Ntpsec 1.2.0 All All All

References

ReferenceSourceLinkTags
2021/CVE-2021-22212.json · master · GitLab.org / cves · GitLab CONFIRM gitlab.com
[SECURITY] Fedora 34 Update: ntpsec-1.2.1-3.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: ntpsec-1.2.1-3.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Not Found MISC gitlab.com
1955859 – ntpd compiled without refclock support MISC bugzilla.redhat.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: Maciej Zenczykowski

Legacy QID Mappings

  • 180039 Debian Security Update for ntpsec (CVE-2021-22212)
  • 281705 Fedora Security Update for ntpsec (FEDORA-2021-3ffc890685)
  • 501888 Alpine Linux Security Update for ntpsec
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report