Skip to content
Heist/ feed
Back to feed
Medium

wireguard — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-46873

WireGuard, 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.

Products
wireguard
Affected versions
0.0.20190913-1ubuntu1, 0.0.20191212-1ubuntu1, 0.0.20191219-1ubuntu1, 1.0.20200102-1ubuntu1, 1.0.20200121-1ubuntu1, 1.0.20200121-2ubuntu1, 1.0.20200206-1ubuntu1, 1.0.20200206-2ubuntu1, 1.0.20200319-1ubuntu1, 1.0.20200513-1~16.04.1, 1.0.20200513-1~16.04.2, 1.0.20200513-1~18.04.1, 1.0.20200513-1~18.04.2, 1.0.20200513-1~20.04.1, 1.0.20200513-1~20.04.2, 1.0.20210424-1ubuntu1, 1.0.20210914-1.1ubuntu2, 1.0.20210914-1ubuntu1, 1.0.20210914-1ubuntu2, 1.0.20210914-1ubuntu3, 1.0.20210914-1ubuntu4, 1.0.20210914-3ubuntu1, 1.0.20210914-3ubuntu2, 1.0.20250521-1ubuntu1, 1.0.20260223-1ubuntu1, 1.0.20260223-1ubuntu2
Fixed versions
Not specified
CVEs
CVE-2021-46873
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:55 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-46873

core-osv · Original source

Published 29 Jan 2023, 23:15 UTC

WireGuard, 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.

osv:UBUNTU-CVE-2021-46873

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

wireguard

Fixed versions: Not specified

Complete source record
{
  "id": "d77515ee8575e9c4bdf86acdcff867f476f68135111255261e558a2044db182b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-46873",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-46873",
    "summary": "WireGuard, 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.",
    "evidence": "osv:UBUNTU-CVE-2021-46873",
    "products": [
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20200513-1~16.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.0.20200513-1~16.04.2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20200513-1~18.04.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.0.20200513-1~18.04.2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.20190913-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0.20191212-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0.20191219-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200102-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200121-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200121-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200206-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200206-2ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200319-1ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200513-1~20.04.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.0.20200513-1~20.04.2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20210424-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.0.20210914-1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.0.20210914-1ubuntu2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20210914-1ubuntu3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.0.20210914-1ubuntu4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20210914-1.1ubuntu2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.0.20210914-3ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.0.20210914-3ubuntu2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20250521-1ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.0.20260223-1ubuntu1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.0.20260223-1ubuntu2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wireguard",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.20210914-3ubuntu2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "1.0.20250521-1ubuntu1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2021-46873",
      "aliases": [
        "UBUNTU-CVE-2021-46873"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.0.20200513-1~16.04.1",
            "1.0.20200513-1~16.04.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20200513-1~16.04.2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20200513-1~16.04.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.0.20200513-1~18.04.1",
            "1.0.20200513-1~18.04.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20200513-1~18.04.2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20200513-1~18.04.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.0.20190913-1ubuntu1",
            "0.0.20191212-1ubuntu1",
            "0.0.20191219-1ubuntu1",
            "1.0.20200102-1ubuntu1",
            "1.0.20200121-1ubuntu1",
            "1.0.20200121-2ubuntu1",
            "1.0.20200206-1ubuntu1",
            "1.0.20200206-2ubuntu1",
            "1.0.20200319-1ubuntu1",
            "1.0.20200513-1~20.04.1",
            "1.0.20200513-1~20.04.2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20200513-1~20.04.2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20200513-1~20.04.2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.0.20210424-1ubuntu1",
            "1.0.20210914-1ubuntu1",
            "1.0.20210914-1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20210914-1ubuntu2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20210914-1ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.0.20210914-1ubuntu3",
            "1.0.20210914-1ubuntu4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20210914-1ubuntu4"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20210914-1ubuntu4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.0.20210914-1.1ubuntu2",
            "1.0.20210914-3ubuntu1",
            "1.0.20210914-3ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20210914-3ubuntu2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20210914-3ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.0.20250521-1ubuntu1",
            "1.0.20260223-1ubuntu1",
            "1.0.20260223-1ubuntu2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20260223-1ubuntu2"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20260223-1ubuntu2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wireguard",
            "purl": "pkg:deb/ubuntu/wireguard?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.0.20210914-3ubuntu2",
            "1.0.20250521-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46873.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "wireguard",
                "binary_version": "1.0.20250521-1ubuntu1"
              },
              {
                "binary_name": "wireguard-tools",
                "binary_version": "1.0.20250521-1ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:16.215452625Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-46873"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-46873",
        "https://lists.zx2c4.com/pipermail/wireguard/2021-August/006916.html",
        "https://www.cve.org/CVERecord?id=CVE-2021-46873"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-46873",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355095,
  "published_at": "2023-01-29T23:15:00+00:00"
}