netfilter: nft_limit: Avoid Divide Error in nft_limit_init
Summary
GSD-2021-1000028: netfilter: nft_limit: avoid possible divide error in nft_limit_init. Affects Kernel versions >= c26844eda9d4fdbd266660e3b3de2d0270e3a1ed, < 1bb3ee4259936cc3b2d80a4a480bbb4868575071. 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 component of the Linux Kernel that provides firewall functionality. It allows for the filtering and manipulation of network packets. The nft_limit module within netfilter is responsible for rate limiting network traffic. It sets limits on the number of packets that can pass through a specific network interface or port within a given time frame. This vulnerability affects the nft_limit module in the Linux Kernel.
Vulnerability Detail
The vulnerability in the nft_limit module of the netfilter package arises from a possible divide error in the nft_limit_init function. This error can occur when initializing the rate limit parameters, potentially leading to a divide-by-zero error. An attacker could exploit this vulnerability to cause a denial-of-service (DoS) condition by sending specially crafted network packets that trigger the divide error. 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
There is no known workaround for this vulnerability. It is necessary to update the Linux Kernel to the fixed version.
Conclusion
The netfilter package in the Linux Kernel is vulnerable to a divide error in the nft_limit module. This vulnerability can be exploited to cause a denial-of-service condition. It is recommended to update the Kernel to version v5.11.16 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The netfilter package is a component of the Linux Kernel that provides firewall functionality. It allows for the filtering and manipulation of network packets.
The nft_limit module is a part of the netfilter package that enables rate limiting of network traffic. It sets limits on the number of packets that can pass through a specific network interface or port within a given time frame.
A divide error occurs when attempting to divide a number by zero. It is an arithmetic error that can cause program crashes or unexpected behavior.
The impact of this vulnerability is a potential denial-of-service (DoS) condition. An attacker could exploit the divide error in the nft_limit module to cause the affected system to crash or become unresponsive.
To fix this vulnerability, update the Linux Kernel to version v5.11.16 or later, which includes the necessary fix for the nft_limit module.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.