cve.bz

CVE-2017-6458

8.8 highEPSS 6.5%Fix available

High (8.8). EPSS 6.5% estimated probability of exploitation activity in the next 30 days.

On this page
Multiple buffer overflows in the ctl_put* functions in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allow remote authenticated users to have unspecified impact via a long variable.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
6.5% (unchanged from 6.5% a week ago; 6.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-6458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-6458?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-6458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-6458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ntp:ntpbefore 4.2.8
ntp:ntpfrom 4.3.0 before 4.3.94
ntp:ntp4.2.8
ntp:ntp4.2.8:p1
ntp:ntp4.2.8:p1-beta1
ntp:ntp4.2.8:p1-beta2
ntp:ntp4.2.8:p1-beta3
ntp:ntp4.2.8:p1-beta4
ntp:ntp4.2.8:p1-beta5
ntp:ntp4.2.8:p1-rc1
ntp:ntp4.2.8:p1-rc2
ntp:ntp4.2.8:p2
ntp:ntp4.2.8:p2-rc1
ntp:ntp4.2.8:p2-rc2
ntp:ntp4.2.8:p2-rc3
ntp:ntp4.2.8:p3
ntp:ntp4.2.8:p3-rc1
ntp:ntp4.2.8:p3-rc2
ntp:ntp4.2.8:p3-rc3
ntp:ntp4.2.8:p4
ntp:ntp4.2.8:p5
ntp:ntp4.2.8:p6
ntp:ntp4.2.8:p7
ntp:ntp4.2.8:p8
ntp:ntp4.2.8:p9
hpe:hpux-ntpbefore c.4.2.8.4.0
apple:mac_os_xfrom 10.8.0 before 10.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ntp1:4.2.8p10+dfsg-1DEBIAN-CVE-2017-6458
Ubuntu14.04:LTSntp1:4.2.6.p5+dfsg-3ubuntu2.14.04.11UBUNTU-CVE-2017-6458 USN-3349-1
Ubuntu16.04:LTSntp1:4.2.8p4+dfsg-3ubuntu5.5UBUNTU-CVE-2017-6458 USN-3349-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1 and 4 morentp4.2.8p10-60.1SUSE-SU-2017:1048-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4ntp4.2.8p10-63.1SUSE-SU-2017:1052-1
SUSELinux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12ntp4.2.8p10-46.23.1SUSE-SU-2017:1047-1
openSUSETumbleweedntp4.2.8p15-7.2openSUSE-SU-2024:11102-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The security assessment from cure53 clarifies that this issue (identified as NTP-01-0004) is not a vulnerability per se, but a weakness in ntp's internal coding style that may cause a vulnerability if particularly long variable names are defined at compile time. No such variable names are defined in upstream source code, nor in Fedora or Red Hat Enterprise Linux versions of ntp.

Red Hat's mitigation

Implement BCP-38.

If you don't want to upgrade, then don't setvar variable names longer than 200-512 bytes in your ntp.conf file.

Properly monitor your ntpd instances, and auto-restart ntpd (without -g) if it stops running.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5ntpNot affected
Red Hat Enterprise Linux 6ntpNot affected
Red Hat Enterprise Linux 7ntpNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-6458.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-21-159-11Siemens SIMATIC NET CP 443-1 OPC UA2021-06-08MultipleSIMATIC CP 443-1 OPC UA (6GK7443-1UX00-0XE0)none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON