{"id":"CVE-2023-4012","aliases":["ALPINE-CVE-2023-4012","DEBIAN-CVE-2023-4012","DSA-5466-1","EUVD-2023-53905","GHSA-777h-w3h9-x4qv","UBUNTU-CVE-2023-4012","openSUSE-SU-2024:13463-1"],"status":"published","title":"Incomplete Internal State Distinction in ntpsec","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0045,"percentile":0.394,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-372"],"published":"2023-08-04T00:00:00Z","modified":"2026-11-03T06:32:48Z","fixes":[{"ecosystem":"Alpine:v3.18","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"ntpsec","fixed_in":["1.2.2a-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"ntpsec","fixed_in":["1.2.2+dfsg1-1+deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"ntpsec","fixed_in":["1.2.2+dfsg1-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"ntpsec","fixed_in":["1.2.2+dfsg1-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.18","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2a-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2+dfsg1-1+deb12u1"}]}],"versions":["1.2.2+dfsg1-1"]},{"source":"osv","ecosystem":"Debian:13","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2+dfsg1-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2+dfsg1-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.2+dfsg1-1+deb12u1"}]}],"versions":["1.2.2+dfsg1-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.0+dfsg1-1","1.0.0+dfsg1-3","1.1.0+dfsg1-1","1.1.0+dfsg1-1ubuntu0.1","1.1.0+dfsg1-1ubuntu0.2"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.3+dfsg1-2","1.1.7+dfsg1-1","1.1.7+dfsg1-2","1.1.8+dfsg1-1","1.1.8+dfsg1-3","1.1.8+dfsg1-4","1.1.8+dfsg1-4build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ntpsec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.0+dfsg1-4","1.2.1+dfsg1-2","1.2.1+dfsg1-3","1.2.1+dfsg1-3ubuntu1","1.2.1+dfsg1-4"]}],"products":[{"vendor":"ntpsec","product":"ntpsec"}],"references":[{"url":"https://gitlab.com/NTPsec/ntpsec/-/issues/794","tags":["issue-tracking","x_transferred","Issue Tracking","Vendor Advisory","report"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038422","tags":["x_transferred","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4012","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OC2KDNL4GO7MDAFSNWBQA4T2Q2VNPUJD"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VQDOZSTH2AZXBO2QAVR2SZEMK2A7WBRB"},{"url":"https://github.com/advisories/GHSA-777h-w3h9-x4qv"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-4012","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4012.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-4012","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-4012","tags":["report"]},{"url":"https://blog.ntpsec.org/2023/08/03/version-1.2.2a.html","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-4012","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-4012","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-4012","title":"Incomplete Internal State Distinction in ntpsec","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T17:30:33.452Z","modified":"2026-06-22T04:07:22.152Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-372"],"updated_at":"2026-11-02T14:35:30.851125Z"}],"euvd":[{"id":"EUVD-2023-53905","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T17:30:33Z","modified":"2026-06-22T04:07:22Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T18:20:35.26548Z"}],"ghsa":[{"id":"GHSA-777h-w3h9-x4qv","title":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled...","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T18:30:59Z","modified":"2024-04-04T06:36:04Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-372"],"updated_at":"2026-11-02T14:56:43.722866Z"}],"nvd":[{"id":"CVE-2023-4012","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T18:15:10.19Z","modified":"2026-06-17T06:36:54.7Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-372"],"updated_at":"2026-11-02T14:08:20.798312Z"}],"osv":[{"id":"ALPINE-CVE-2023-4012","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T18:15:10.19Z","modified":"2026-11-03T06:32:48.778221433Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:16:46.202932Z"},{"id":"CVE-2023-4012","title":"Incomplete Internal State Distinction in ntpsec","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T17:30:33.452Z","modified":"2026-10-28T02:30:38.312066135Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-372"],"updated_at":"2026-11-02T15:44:33.244128Z"},{"id":"DEBIAN-CVE-2023-4012","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T18:15:10.19Z","modified":"2026-10-26T18:02:31.969585048Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.980321Z"},{"id":"UBUNTU-CVE-2023-4012","description":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","status":"published","published":"2023-08-07T18:15:00Z","modified":"2025-10-24T05:01:27Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:22.741943Z"},{"id":"DSA-5466-1","title":"ntpsec - security update","status":"published","published":"2023-08-04T00:00:00Z","modified":"2026-03-09T02:10:35.172842Z","updated_at":"2026-11-02T15:46:17.892347Z"},{"id":"openSUSE-SU-2024:13463-1","title":"libntpc1-1.2.2a-1.1 on GA media","description":"These are all security issues fixed in the libntpc1-1.2.2a-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2025-05-07T18:15:07.375342Z","updated_at":"2026-11-02T16:58:36.327643Z"}]}}
