Out-of-bounds Write Affecting sntp package, versions <0:4.2.8p15-3.amzn2.0.7


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.64% (49th 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 IDSNYK-AMZN2-SNTP-6149044
  • published10 Jan 2024
  • disclosed11 Apr 2023

Introduced: 11 Apr 2023

CVE-2023-26552  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 sntp to version 0:4.2.8p15-3.amzn2.0.7 or higher.
This issue was patched in ALAS2-2024-2396.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sntp package and not the sntp package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

mstolfp in libntp/mstolfp.c in NTP 4.2.8p15 has an out-of-bounds write when adding a decimal point. An adversary may be able to attack a client ntpq process, but cannot attack ntpd.

CVSS Base Scores

version 3.1