Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2021-22212: Use of a Broken or Risky Cryptographic Algorithm

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Alpine Linux: CVE-2021-22212: Use of a Broken or Risky Cryptographic Algorithm

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
06/08/2021
Created
08/23/2024
Added
08/22/2024
Modified
08/23/2024

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.

Solution(s)

  • alpine-linux-upgrade-ntpsec

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;