CVE-2021-22212
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 40% of all known CVEs.
References
Related Vulnerabilities
Other CWE-327 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2015-2808 | Low | 3.7 | 74% | - | Fix |
| CVE-2023-34039 | Critical | 9.8 | 64% | - | Fix |
| CVE-2016-6602 | Critical | 9.8 | 55% | - | - |
| CVE-2014-8687 | Critical | 9.8 | 44% | - | - |
| CVE-2020-13777 | High | 7.4 | 18% | - | Fix |
| CVE-2017-17428 | Medium | 5.9 | 15% | - | - |
Embed a live status badge for CVE-2021-22212
Markdown
[](https://tridentstack.com/cve/CVE-2021-22212)HTML
<a href="https://tridentstack.com/cve/CVE-2021-22212"><img src="https://tridentstack.com/cve/badge/CVE-2021-22212.svg" alt="CVE-2021-22212"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.