{"schemaVersion":3,"id":"CVE-2017-6460","aliases":["UBUNTU-CVE-2017-6460","DEBIAN-CVE-2017-6460"],"status":"published","duplicateOf":null,"title":null,"description":"Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.","dates":{"published":"2017-03-27T17:00:00.000Z","modified":"2024-08-05T15:33:19.058Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true}]},"epss":{"probability":0.02682,"percentile":0.85613,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02682},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02682,"percentile":0.85613}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02437,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02682,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02682,"percentile":0.85613}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"debian","product":"ntp","name":"ntp","label":"ntp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ntp","purlType":"deb","versions":[{"text":"< 1:4.2.8p10+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2.8p10+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ntp","name":"ntp","label":"ntp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ntp","purlType":"deb","versions":[{"text":"< 1:4.2.8p4+dfsg-3ubuntu5.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2.8p4+dfsg-3ubuntu5.5","eol":null,"hubHref":null},{"vendor":"ntp","product":"ntp","name":"ntp","label":"ntp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.2.8:p9","noFixRecorded":false,"fixedIn":null},{"text":"4.3.0","noFixRecorded":false,"fixedIn":null},{"text":"4.3.1","noFixRecorded":false,"fixedIn":null},{"text":"4.3.2","noFixRecorded":false,"fixedIn":null},{"text":"4.3.3","noFixRecorded":false,"fixedIn":null},{"text":"4.3.4","noFixRecorded":false,"fixedIn":null},{"text":"4.3.5","noFixRecorded":false,"fixedIn":null},{"text":"4.3.6","noFixRecorded":false,"fixedIn":null},{"text":"4.3.7","noFixRecorded":false,"fixedIn":null},{"text":"4.3.8","noFixRecorded":false,"fixedIn":null},{"text":"4.3.9","noFixRecorded":false,"fixedIn":null},{"text":"4.3.10","noFixRecorded":false,"fixedIn":null},{"text":"4.3.11","noFixRecorded":false,"fixedIn":null},{"text":"4.3.12","noFixRecorded":false,"fixedIn":null},{"text":"4.3.13","noFixRecorded":false,"fixedIn":null},{"text":"4.3.14","noFixRecorded":false,"fixedIn":null},{"text":"4.3.15","noFixRecorded":false,"fixedIn":null},{"text":"4.3.16","noFixRecorded":false,"fixedIn":null},{"text":"4.3.17","noFixRecorded":false,"fixedIn":null},{"text":"4.3.18","noFixRecorded":false,"fixedIn":null},{"text":"4.3.19","noFixRecorded":false,"fixedIn":null},{"text":"4.3.20","noFixRecorded":false,"fixedIn":null},{"text":"4.3.21","noFixRecorded":false,"fixedIn":null},{"text":"4.3.22","noFixRecorded":false,"fixedIn":null},{"text":"4.3.23","noFixRecorded":false,"fixedIn":null},{"text":"4.3.24","noFixRecorded":false,"fixedIn":null},{"text":"4.3.25","noFixRecorded":false,"fixedIn":null},{"text":"4.3.26","noFixRecorded":false,"fixedIn":null},{"text":"4.3.27","noFixRecorded":false,"fixedIn":null},{"text":"4.3.28","noFixRecorded":false,"fixedIn":null},{"text":"4.3.29","noFixRecorded":false,"fixedIn":null},{"text":"4.3.30","noFixRecorded":false,"fixedIn":null},{"text":"4.3.31","noFixRecorded":false,"fixedIn":null},{"text":"4.3.32","noFixRecorded":false,"fixedIn":null},{"text":"4.3.33","noFixRecorded":false,"fixedIn":null},{"text":"4.3.34","noFixRecorded":false,"fixedIn":null},{"text":"4.3.35","noFixRecorded":false,"fixedIn":null},{"text":"4.3.36","noFixRecorded":false,"fixedIn":null},{"text":"4.3.37","noFixRecorded":false,"fixedIn":null},{"text":"4.3.38","noFixRecorded":false,"fixedIn":null},{"text":"4.3.39","noFixRecorded":false,"fixedIn":null},{"text":"4.3.40","noFixRecorded":false,"fixedIn":null},{"text":"4.3.41","noFixRecorded":false,"fixedIn":null},{"text":"4.3.42","noFixRecorded":false,"fixedIn":null},{"text":"4.3.43","noFixRecorded":false,"fixedIn":null},{"text":"4.3.44","noFixRecorded":false,"fixedIn":null},{"text":"4.3.45","noFixRecorded":false,"fixedIn":null},{"text":"4.3.46","noFixRecorded":false,"fixedIn":null},{"text":"4.3.47","noFixRecorded":false,"fixedIn":null},{"text":"4.3.48","noFixRecorded":false,"fixedIn":null},{"text":"4.3.49","noFixRecorded":false,"fixedIn":null},{"text":"4.3.50","noFixRecorded":false,"fixedIn":null},{"text":"4.3.51","noFixRecorded":false,"fixedIn":null},{"text":"4.3.52","noFixRecorded":false,"fixedIn":null},{"text":"4.3.53","noFixRecorded":false,"fixedIn":null},{"text":"4.3.54","noFixRecorded":false,"fixedIn":null},{"text":"4.3.55","noFixRecorded":false,"fixedIn":null},{"text":"4.3.56","noFixRecorded":false,"fixedIn":null},{"text":"4.3.57","noFixRecorded":false,"fixedIn":null},{"text":"4.3.58","noFixRecorded":false,"fixedIn":null},{"text":"4.3.59","noFixRecorded":false,"fixedIn":null},{"text":"4.3.60","noFixRecorded":false,"fixedIn":null},{"text":"4.3.61","noFixRecorded":false,"fixedIn":null},{"text":"4.3.62","noFixRecorded":false,"fixedIn":null},{"text":"4.3.63","noFixRecorded":false,"fixedIn":null},{"text":"4.3.64","noFixRecorded":false,"fixedIn":null},{"text":"4.3.65","noFixRecorded":false,"fixedIn":null},{"text":"4.3.66","noFixRecorded":false,"fixedIn":null},{"text":"4.3.67","noFixRecorded":false,"fixedIn":null},{"text":"4.3.68","noFixRecorded":false,"fixedIn":null},{"text":"4.3.69","noFixRecorded":false,"fixedIn":null},{"text":"4.3.70","noFixRecorded":false,"fixedIn":null},{"text":"4.3.71","noFixRecorded":false,"fixedIn":null},{"text":"4.3.72","noFixRecorded":false,"fixedIn":null},{"text":"4.3.73","noFixRecorded":false,"fixedIn":null},{"text":"4.3.74","noFixRecorded":false,"fixedIn":null},{"text":"4.3.75","noFixRecorded":false,"fixedIn":null},{"text":"4.3.76","noFixRecorded":false,"fixedIn":null},{"text":"4.3.77","noFixRecorded":false,"fixedIn":null},{"text":"4.3.78","noFixRecorded":false,"fixedIn":null},{"text":"4.3.79","noFixRecorded":false,"fixedIn":null},{"text":"4.3.80","noFixRecorded":false,"fixedIn":null},{"text":"4.3.81","noFixRecorded":false,"fixedIn":null},{"text":"4.3.82","noFixRecorded":false,"fixedIn":null},{"text":"4.3.83","noFixRecorded":false,"fixedIn":null},{"text":"4.3.84","noFixRecorded":false,"fixedIn":null},{"text":"4.3.85","noFixRecorded":false,"fixedIn":null},{"text":"4.3.86","noFixRecorded":false,"fixedIn":null},{"text":"4.3.87","noFixRecorded":false,"fixedIn":null},{"text":"4.3.88","noFixRecorded":false,"fixedIn":null},{"text":"4.3.89","noFixRecorded":false,"fixedIn":null},{"text":"4.3.90","noFixRecorded":false,"fixedIn":null},{"text":"4.3.91","noFixRecorded":false,"fixedIn":null},{"text":"4.3.92","noFixRecorded":false,"fixedIn":null},{"text":"4.3.93","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.2.8:p9 | 4.3.0 | 4.3.1 | 4.3.2 | 4.3.3 | 4.3.4 | 4.3.5 | 4.3.6 | 4.3.7 | 4.3.8 | 4.3.9 | 4.3.10 | 4.3.11 | 4.3.12 | 4.3.13 | 4.3.14 | 4.3.15 | 4.3.16 | 4.3.17 | 4.3.18 | 4.3.19 | 4.3.20 | 4.3.21 | 4.3.22 | 4.3.23 | 4.3.24 | 4.3.25 | 4.3.26 | 4.3.27 | 4.3.28 | 4.3.29 | 4.3.30 | 4.3.31 | 4.3.32 | 4.3.33 | 4.3.34 | 4.3.35 | 4.3.36 | 4.3.37 | 4.3.38 | 4.3.39 | 4.3.40 | 4.3.41 | 4.3.42 | 4.3.43 | 4.3.44 | 4.3.45 | 4.3.46 | 4.3.47 | 4.3.48 | 4.3.49 | 4.3.50 | 4.3.51 | 4.3.52 | 4.3.53 | 4.3.54 | 4.3.55 | 4.3.56 | 4.3.57 | 4.3.58 | 4.3.59 | 4.3.60 | 4.3.61 | 4.3.62 | 4.3.63 | 4.3.64 | 4.3.65 | 4.3.66 | 4.3.67 | 4.3.68 | 4.3.69 | 4.3.70 | 4.3.71 | 4.3.72 | 4.3.73 | 4.3.74 | 4.3.75 | 4.3.76 | 4.3.77 | 4.3.78 | 4.3.79 | 4.3.80 | 4.3.81 | 4.3.82 | 4.3.83 | 4.3.84 | 4.3.85 | 4.3.86 | 4.3.87 | 4.3.88 | 4.3.89 | 4.3.90 | 4.3.91 | 4.3.92 | 4.3.93","eol":null,"hubHref":"/vendor/ntp/ntp"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securitytracker.com/id/1038123","label":"www.securitytracker.com/id/1038123","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://support.apple.com/HT208144","label":"support.apple.com/HT208144","hostname":"support.apple.com","tags":["X Refsource CONFIRM"]},{"url":"http://www.securityfocus.com/bid/97052","label":"www.securityfocus.com/bid/97052","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://support.ntp.org/bin/view/Main/NtpBug3377","label":"support.ntp.org/bin/view/Main/NtpBug3377","hostname":"support.ntp.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"http://support.ntp.org/bin/view/Main/SecurityNotice#March_2017_ntp_4_2_8p10_NTP_Secu","label":"support.ntp.org/bin/view/Main/SecurityNotice","hostname":"support.ntp.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","label":"support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","hostname":"support.hpe.com","tags":["X Refsource CONFIRM"]},{"url":"https://security.paloaltonetworks.com/CVE-2017-6460","label":"security.paloaltonetworks.com/CVE-2017-6460","hostname":"security.paloaltonetworks.com","tags":["X Refsource CONFIRM"]},{"url":"https://ubuntu.com/security/CVE-2017-6460","label":"ubuntu.com/security/CVE-2017-6460","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-3349-1","label":"ubuntu.com/security/notices/USN-3349-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-6460","label":"www.cve.org/CVERecord?id=CVE-2017-6460","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-6460","label":"security-tracker.debian.org/tracker/CVE-2017-6460","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11102-1","SUSE-SU-2017:1047-1","SUSE-SU-2017:1048-1","SUSE-SU-2017:1052-1","USN-3349-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11102-1","SUSE-SU-2017:1047-1","SUSE-SU-2017:1048-1","SUSE-SU-2017:1052-1","USN-3349-1"]},"timeline":[{"kind":"published","date":"2017-03-27T17:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:33:19.058Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:40:29.742Z","stale":false,"partial":false}}