CVE-2021-46873
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedWireGuard, such as WireGuard 0.5.3 on Windows, does not fully account for the possibility that an adversary might be able to set a victim's system time to a future value, e.g., because unauthenticated NTP is used. This can lead to an outcome in which one static private key becomes permanently useless.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceWireGuard's static key mechanism relies on system time to determine key validity periods. When an attacker can manipulate the system clock forward (e.g., via unauthenticated NTP), the 'birth' timestamp of a static private key can be made to appear in the future relative to the manipulated time, causing the key to become permanently invalidated and unusable.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 0.5.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed WireGuard versionRun 'wg --version' or check the package manager for wireguard-tools version (e.g., dpkg -l wireguard-tools, rpm -qa wireguard-tools)Affected if Version equals 0.5.3 exactly (note: this CVE affects only this specific version)
-
Confirm static key configurationCheck /etc/wireguard/ for .conf files containing 'PrivateKey' entries that are static (not generated via 'wg genkey'), or examine if wg show interfaces shows persistent static key configurationsAffected if Static private keys are defined in WireGuard configuration files and are actively used
-
Verify key birth timestampsRun 'wg show <interface>' to display key lifetime information, or use 'wg pubkey' on the private key file to identify it, then inspect if the key's birth time appears to be in the future relative to current system timeAffected if The 'birth' timestamp of a static key shows as a future date relative to current system time, indicating the key has been invalidated
-
Check NTP synchronization methodReview /etc/ntp.conf, /etc/chrony.conf, or systemctl status chronyd/systemd-timesyncd to identify if NTP uses authentication (NTS, TLS) or is unauthenticatedAffected if System uses unauthenticated NTP (port 123/UDP without NTS, TLS authentication, or similar) allowing potential time manipulation from network attackers
Environment is affected if WireGuard version 0.5.3 is running with static keys while the system relies on unauthenticated NTP, allowing attackers to manipulate system time and permanently invalidate the static key birth timestamp.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedDeploy authenticated NTP synchronization (such as NTS - Network Time Security, or TLS-authenticated time sources) to prevent attackers from manipulating system time. Alternatively, implement manual or hardware-based time verification for critical systems.
Upgrade to the latest stable release of WireGuard for Windows (version > 0.5.3)
- 1. Identify all systems running WireGuard 0.5.3 on Windows.
- 2. Backup any existing WireGuard configurations and static private keys before upgrading.
- 3. Upgrade WireGuard to the latest available version from the official WireGuard website or package repository.
- 4. After upgrading, verify that WireGuard tunnels establish successfully.
- 5. If a static private key was previously rendered useless due to this vulnerability, generate a new key pair and update peer configurations accordingly.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-46873 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-46873 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data