CVE & CISA-KEV Catalog

CVE-2021-22212

MEDIUM
4.0
CVSS v3
NVD

Description

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 Available
ntpsecDebian
Fixed in:1.2.0+dfsg1-4CVE-2021-22212
Fixed in:1.2.0+dfsg1-4CVE-2021-22212
Fixed in:1.2.0+dfsg1-4CVE-2021-22212
Fixed in:1.2.0+dfsg1-4CVE-2021-22212

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

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N

Exploit Intelligence

0.52%probability of exploitation in 30 days
40thpercentile

Moderate risk: more likely to be exploited than 40% of all known CVEs.

References

Third-Party Advisory1
Other references1

Related Vulnerabilities

Other CWE-327 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-2808Low3.774%-Fix
CVE-2023-34039Critical9.864%-Fix
CVE-2016-6602Critical9.855%--
CVE-2014-8687Critical9.844%--
CVE-2020-13777High7.418%-Fix
CVE-2017-17428Medium5.915%--
Embed a live status badge for CVE-2021-22212
CVE-2021-22212 severity badge

Markdown

[![CVE-2021-22212](https://tridentstack.com/cve/badge/CVE-2021-22212.svg)](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 free

This 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.