Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-22212

4.0 · MEDIUM
Published Jun 8, 2021 ntpsec CWE-327 EPSS 0.52% (42th pctl)

Overview

CVE-2021-22212 is a medium-severity vulnerability affecting ntpsec ntpsec. It was published on June 8, 2021 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from ntpsec. Update ntpsec to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2021-22212?

CVE-2021-22212 is a medium-severity vulnerability affecting ntpsec ntpsec. It was published on June 8, 2021 and has a CVSS 3.1 base score of 4.0 (MEDIUM).

How severe is CVE-2021-22212?

This vulnerability has a CVSS 3.1 base score of 4.0, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-22212?

Check the references section for vendor advisories and patches from ntpsec. Update ntpsec to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-22212?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-22212 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.