CVEfocus › CVE database › CVE-2023-4012

CVE-2023-4012Incomplete Internal State Distinction in ntpsec

CVSS 7.5 HighEPSS 0.4% (higher than 40% of CVEs)Published 2023-08-07Updated 2026-06-22Assigner: GitLab

ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3).

CWE-372

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
3Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ntpsecNot affected
vulnerable_code_not_present
Ubuntu 22.04ntpsecWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4012
Ubuntu 20.04ntpsecWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4012
Ubuntu 18.04ntpsecWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-4012
Debian 14ntpsecFixed1.2.2+dfsg1-2DEBIAN-CVE-2023-4012
Debian 13ntpsecFixed1.2.2+dfsg1-2DEBIAN-CVE-2023-4012
Debian 12ntpsecFixed1.2.2+dfsg1-1+deb12u1DEBIAN-CVE-2023-4012
Alpine Linux 3.24ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.23ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.22ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.21ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.20ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.19ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012
Alpine Linux 3.18ntpsecFixed1.2.2a-r0ALPINE-CVE-2023-4012

What the vendor says

As published in the CVE record by GitLab, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to version 1.2.2a or 1.2.3

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.