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.
Conclusion & alert: CVE-2021-22212 is rated Low Risk (30.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.52%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.14% | 0.52% | +0.38% |
| 2 | 2025-06-05 | 0.04% | 0.14% | +0.10% |
| 3 | 2025-03-30 | — | 0.04% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.0 | 3.1 | MEDIUM |
|
0.3 | 3.6 | [email protected] |
| 7.4 | 3.1 | HIGH |
|
2.2 | 5.2 | [email protected] |
| 5.8 | 2.0 | MEDIUM |
|
8.6 | 4.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
high | CVE-2021-22212: 1 source package rows (ntpsec); 7 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 0. | https://security.alpinelinux.org/vuln/CVE-2021-22212 |
debian
|
not yet assigned | CVE-2021-22212 not yet assigned priority: Debian including 1 source packages (ntpsec), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-22212 |
ubuntu
|
low | CVE-2021-22212 low priority: Ubuntu including 1 source packages (ntpsec), 14 status rows across 14 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): ignored 7, not-affected 5, DNE 1, released 1. | https://ubuntu.com/security/CVE-2021-22212 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| ntpsec | ntpsec | 1.2.0 | cpe:2.3:a:ntpsec:ntpsec:1.2.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1955859 | Issue Tracking Patch Third Party Advisory |
| https://gitlab.com/NTPsec/ntpsec/-/issues/699 | Issue Tracking Patch Third Party Advisory |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3GIT2HYL5BQXPGKI6ZDNG473IEQ5WQF2/ |