CVE-2021-22212
CVSS V2 Medium 5.8
CVSS V3 High 7.4
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.
Overview
- CVE ID
- CVE-2021-22212
- Assigner
- cve@gitlab.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-08T13:15:07
- Last Modified Date
- 2022-06-04T03:02:13
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:ntpsec:ntpsec:1.2.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.4
- Base Severity
- HIGH
- Exploitability Score
- 2.2
- Impact Score
- 5.2
References
Reference URL | Reference Tags |
---|---|
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json | Third Party Advisory |
https://gitlab.com/NTPsec/ntpsec/-/issues/699 | Issue Tracking Patch Third Party Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1955859 | Issue Tracking Patch Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3GIT2HYL5BQXPGKI6ZDNG473IEQ5WQF2/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-22212 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22212 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:09:46 | Added to TrackCVE | |||
2022-12-05 03:42:51 | 2021-06-08T13:15Z | 2021-06-08T13:15:07 | CVE Published Date | updated |
2022-12-05 03:42:51 | 2022-06-04T03:02:13 | CVE Modified Date | updated | |
2022-12-05 03:42:51 | Analyzed | Vulnerability Status | updated |