Bug 1210387 (CVE-2023-26553)

Summary: VUL-0: CVE-2023-26553: ntp: ntpq: out-of-bounds write when copying the trailing number
Product: [Novell Products] SUSE Security Incidents Reporter: Alexander Bergmann <abergmann>
Component: IncidentsAssignee: Reinhard Max <max>
Status: RESOLVED DUPLICATE QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: abergmann, security-team
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/363128/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-26553:4.4:(AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Bergmann 2023-04-13 06:07:54 UTC
CVE-2023-26553

mstolfp in libntp/mstolfp.c in NTP 4.2.8p15 has an out-of-bounds write when
copying the trailing number.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-26553
https://www.cve.org/CVERecord?id=CVE-2023-26553
https://github.com/spwpun/ntp-4.2.8p15-cves/blob/main/CVE-2023-26553
Comment 1 Alexander Bergmann 2023-04-13 10:00:38 UTC
https://github.com/spwpun/ntp-4.2.8p15-cves/issues/1#issuecomment-1506542825

> I agree with @rma-x that (beside the palisade driver) the CVEs only affect ntpq, not ntpd.

The CVSS score was changed to 4.4.
Comment 2 Alexander Bergmann 2023-04-13 12:25:15 UTC
This issue is now treated as a duplicate of CVE-2023-26551. The main issue comes down to input validation of ntpq that has then effect at multiple code locations.

*** This bug has been marked as a duplicate of bug 1210386 ***
Comment 3 Maintenance Automation 2023-05-09 16:31:04 UTC
SUSE-SU-2023:2142-1: An update that solves four vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1210386, 1210387, 1210388, 1210389
CVE References: CVE-2023-26551, CVE-2023-26552, CVE-2023-26553, CVE-2023-26554
Sources used:
openSUSE Leap 15.4 (src): ntp-4.2.8p15-150000.4.22.1
Legacy Module 15-SP4 (src): ntp-4.2.8p15-150000.4.22.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Maintenance Automation 2023-05-11 08:30:03 UTC
SUSE-SU-2023:2171-1: An update that solves four vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1210386, 1210387, 1210388, 1210389
CVE References: CVE-2023-26551, CVE-2023-26552, CVE-2023-26553, CVE-2023-26554
Sources used:
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): ntp-4.2.8p15-100.1
SUSE Linux Enterprise Server 12 SP5 (src): ntp-4.2.8p15-100.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): ntp-4.2.8p15-100.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.