Vulnerability in wireguard: socket: ignore v6 endpoints when ipv6 is disabled

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1001759: wireguard: socket: ignore v6 endpoints when ipv6 is disabled. Affects Kernel versions >= e7096c131e5161fa3b8e52a650d7719d2857adfd, < 9af42a4f6d81b96b123f3ec22a4dcb906c6d00e7. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The wireguard package is a kernel module that provides a secure network tunneling solution. It allows users to create virtual private networks (VPNs) that can securely transmit data over public networks. Wireguard is integrated into the Linux Kernel and is widely used for its simplicity and performance. However, a vulnerability has been discovered in the socket implementation of wireguard when IPv6 is disabled.

Vulnerability Detail

The vulnerability in wireguard's socket implementation occurs when IPv6 is disabled. In this scenario, wireguard should ignore IPv6 endpoints, but due to a coding error, it does not properly handle v6 endpoints. This vulnerability could potentially be exploited by an attacker to bypass network restrictions or launch attacks against wireguard-enabled systems. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Linux Kernel is not immediately feasible, a temporary workaround is to enable IPv6 on the system. By enabling IPv6, wireguard will properly handle v6 endpoints and mitigate the vulnerability. However, it is still recommended to update the kernel as soon as possible.

Conclusion

In conclusion, a vulnerability has been discovered in wireguard's socket implementation when IPv6 is disabled. To mitigate this vulnerability, it is recommended to update the Linux Kernel to version v5.15.33 or later. Enabling IPv6 on the system can serve as a temporary workaround. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Wireguard is a kernel module that provides a secure network tunneling solution. It allows users to create virtual private networks (VPNs) that can securely transmit data over public networks.

The impact of this vulnerability is not yet proven. However, if exploited, it could potentially allow an attacker to bypass network restrictions or launch attacks against wireguard-enabled systems.

To fix this vulnerability, update your Linux Kernel to version v5.15.33 or later. Regularly updating the kernel is recommended to ensure the latest security patches are applied.

A temporary workaround is to enable IPv6 on the system. This will ensure wireguard properly handles v6 endpoints and mitigates the vulnerability. However, updating the kernel is still recommended.

For more information about this vulnerability, you can refer to the official Linux Kernel repository or the vulnerability database provided by the Cloud Security Alliance.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback