Double Hook Unregistration Vulnerability in netfilter: nf_tables
Summary
GSD-2022-1003454: netfilter: nf_tables: double hook unregistration in netns path. Affects Kernel versions >= 767d1216bff82507c945e92fe719dff2083bb2f4, < 9c413a8c8bb49cc16796371805ecb260e885bb2b. 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 netfilter package is a part of the Linux Kernel and provides a framework for packet filtering and network address translation. It includes various modules, such as nf_tables, which is responsible for managing firewall rules. The nf_tables module allows users to define rules and actions for packet filtering. However, a vulnerability has been discovered in the nf_tables module that could allow an attacker to perform a double hook unregistration in the netns path.
Vulnerability Detail
The double hook unregistration vulnerability in netfilter: nf_tables allows an attacker to unregister a hook twice in the netns path, leading to a use-after-free condition. This vulnerability was introduced in Linux Kernel version v5.11 and was fixed in version v5.15.45. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service by manipulating the nf_tables module. The impact and attack plausibility of this vulnerability have not been proven yet.
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 known workaround for this vulnerability at the moment.
Conclusion
The double hook unregistration vulnerability in netfilter: nf_tables can be mitigated by updating the Linux Kernel to the latest version. Regularly updating the kernel is crucial to ensure the system is protected against known vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
Netfilter is a part of the Linux Kernel that provides packet filtering and network address translation capabilities.
nf_tables is a module within netfilter that allows users to define firewall rules and actions for packet filtering.
The vulnerability allows an attacker to unregister a hook twice in the netns path, leading to a use-after-free condition.
The impact of this vulnerability could be arbitrary code execution or denial-of-service attacks by manipulating the nf_tables module.
To fix this vulnerability, update the Linux Kernel to version v5.15.45 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.