Vulnerability Name: | CVE-2021-22212 (CCN-203486) | ||||||||||||
Assigned: | 2021-06-08 | ||||||||||||
Published: | 2021-06-08 | ||||||||||||
Updated: | 2022-06-04 | ||||||||||||
Summary: | 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. | ||||||||||||
CVSS v3 Severity: | 7.4 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) 6.4 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C)
5.2 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N/E:U/RL:O/RC:C)
| ||||||||||||
CVSS v2 Severity: | 5.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N)
| ||||||||||||
Vulnerability Type: | CWE-327 | ||||||||||||
Vulnerability Consequences: | Obtain Information | ||||||||||||
References: | Source: MITRE Type: CNA CVE-2021-22212 Source: CCN Type: Red Hat Bugzilla - Bug 1955859 CVE-2021-22212 ntpsec: ntpkeygen generates weak keys Source: MISC Type: Issue Tracking, Patch, Third Party Advisory https://bugzilla.redhat.com/show_bug.cgi?id=1955859 Source: XF Type: UNKNOWN ntpsec-cve202122212-mitm(203486) Source: CCN Type: NTPsec GIT Repository NTPsec Source: CONFIRM Type: Third Party Advisory https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json Source: MISC Type: Issue Tracking, Patch, Third Party Advisory https://gitlab.com/NTPsec/ntpsec/-/issues/699 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-3ffc890685 | ||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: ![]() | ||||||||||||
Oval Definitions | |||||||||||||
| |||||||||||||
BACK |