netfilter: nf_tables: disallow non-stateful expression in sets earlier
Summary
GSD-2022-1003661: netfilter: nf_tables: disallow non-stateful expression in sets earlier. Affects Kernel versions >= 0b2d8a7b638b5034d2d68f6add8af94daaa1d4cd, < ea62d169b6e731e0b54abda1d692406f6bc6a696. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the operating system that manages system resources and provides an interface for software to interact with the hardware. It is responsible for tasks such as process management, memory management, and device drivers. The vulnerability specifically impacts the nf_tables module, which is a subsystem of the netfilter framework used for packet filtering and network address translation in the Linux kernel.
Vulnerability Detail
The vulnerability in nf_tables allows the use of non-stateful expressions in sets, which can lead to security issues. Non-stateful expressions are expressions that do not depend on the state of the network connection, such as IP addresses or port numbers. By allowing non-stateful expressions in sets, an attacker could potentially bypass firewall rules or perform other malicious activities. The vulnerability was introduced in version v4.1 of the Linux Kernel and was fixed in version v5.10.120.
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
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in nf_tables that allowed the use of non-stateful expressions in sets has been fixed in version v5.10.120 of the Linux Kernel. Users are advised to update their Kernel to the fixed version to mitigate any potential security risks. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability allows the use of non-stateful expressions in sets, which can potentially bypass firewall rules or enable other malicious activities.
You can use the Vulert playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.
There is no known exploit for this vulnerability at the moment. However, it is important to apply the fix as soon as possible to prevent any potential security risks.
The recommended approach is to update the Kernel to the fixed version. However, if updating is not feasible in the short term, you can consider implementing additional security measures, such as network segmentation or using alternative firewall solutions.
There may be other related vulnerabilities in the nf_tables module or other components of the Linux Kernel. It is important to regularly update the Kernel and monitor for security advisories to stay protected against potential vulnerabilities.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.