CVE-2021-22212
Summary
| CVE | CVE-2021-22212 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-06-08 13:15:00 UTC |
| Updated | 2023-11-07 03:30:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-327
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Application | Ntpsec | Ntpsec | 1.2.0 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 2021/CVE-2021-22212.json · master · GitLab.org / cves · GitLab | CONFIRM | gitlab.com | |
| [SECURITY] Fedora 34 Update: ntpsec-1.2.1-3.fc34 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| [SECURITY] Fedora 34 Update: ntpsec-1.2.1-3.fc34 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| Not Found | MISC | gitlab.com | |
| 1955859 – ntpd compiled without refclock support | MISC | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Maciej Zenczykowski