Use of a broken or risky cryptographic algorithm in NTPsec - CVE-2021-22212
Published: August 6, 2023
NTPsec
The NTPsec project
Description
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to improper input validation when parsing keys generated by ntpkeygen. If the key contains a string with with '#' characters, the ntpd then either pads, shortens the key, or fails to load these keys entirely, which can result in possibility to launch MITM attacks between ntp clients and ntp servers.
Remediation
External links
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22212.json
- https://gitlab.com/NTPsec/ntpsec/-/issues/699
- https://bugzilla.redhat.com/show_bug.cgi?id=1955859
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3GIT2HYL5BQXPGKI6ZDNG473IEQ5WQF2/