{"id":"UBUNTU-CVE-2023-4012","details":"ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).","modified":"2025-10-24T05:01:27Z","published":"2023-08-07T18:15:00Z","upstream":["CVE-2023-4012"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-4012"},{"type":"REPORT","url":"https://gitlab.com/NTPsec/ntpsec/-/issues/794"},{"type":"REPORT","url":"https://blog.ntpsec.org/2023/08/03/version-1.2.2a.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-4012"}],"affected":[{"package":{"name":"ntpsec","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ntpsec@1.1.0+dfsg1-1ubuntu0.2?arch=source&distro=bionic"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.1.0+dfsg1-1ubuntu0.2"},{"binary_name":"python3-ntp","binary_version":"1.1.0+dfsg1-1ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4012.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ntpsec@1.1.8+dfsg1-4build1?arch=source&distro=focal"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.1.8+dfsg1-4build1"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.1.8+dfsg1-4build1"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.1.8+dfsg1-4build1"},{"binary_name":"python3-ntp","binary_version":"1.1.8+dfsg1-4build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4012.json"}},{"package":{"name":"ntpsec","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ntpsec@1.2.1+dfsg1-4?arch=source&distro=jammy"},"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"],"ecosystem_specific":{"binaries":[{"binary_name":"ntpsec","binary_version":"1.2.1+dfsg1-4"},{"binary_name":"ntpsec-ntpdate","binary_version":"1.2.1+dfsg1-4"},{"binary_name":"ntpsec-ntpviz","binary_version":"1.2.1+dfsg1-4"},{"binary_name":"python3-ntp","binary_version":"1.2.1+dfsg1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-4012.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}