Allocation of Resources Without Limits or Throttling Affecting ntpd package, versions >=0.3.1 <1.1.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-NTPD-7413607
  • published30 Jun 2024
  • disclosed28 Jun 2024
  • creditUnknown

Introduced: 28 Jun 2024

CVE-2024-38528  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade ntpd to version 1.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through the accept system call. An attacker can cause the service to crash by opening a large number of TCP connections rapidly enough to exceed system resource limits before the key-exchange-timeout-ms timeout occurs. This is only exploitable if the server is configured as an NTS-KE server; default configurations are unaffected.

Workaround

This vulnerability can be mitigated by disabling NTS-KE server functionality, increasing system resource limits (RLIMIT_NOFILE), or lowering the key-exchange-timeout-ms configuration setting to make the attack more difficult

References

CVSS Scores

version 4.0
version 3.1