Vulnerability in Kernel: net: Make tcp_allowed_congestion_control readonly in non-init netns
Summary
UVI-2021-1000035: net: Make tcp_allowed_congestion_control readonly in non-init netns. Affects Kernel versions >= 9cb8e048e5d93825ec5e8dfb5b8df4987ea25745, < 35d7491e2f77ce480097cabcaf93ed409e916e12. 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 Kernel is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's networking subsystem, specifically the tcp_allowed_congestion_control parameter in non-init netns (network namespaces).
Vulnerability Detail
The vulnerability arises from the tcp_allowed_congestion_control parameter being mutable in non-init netns. This allows an attacker with sufficient privileges in a non-init netns to modify the congestion control algorithm used by TCP connections, potentially leading to denial of service (DoS) attacks, performance degradation, or other security implications. The vulnerability was introduced in Linux Kernel version v5.7 and is fixed in version v5.10.32.
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 the Kernel's networking subsystem, specifically the tcp_allowed_congestion_control parameter in non-init netns, allows attackers to modify TCP congestion control algorithms. This can result in DoS attacks, performance degradation, or other security implications. It is crucial to update the Linux Kernel to version v5.10.32 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability allows attackers in non-init netns to modify TCP congestion control algorithms, potentially leading to DoS attacks or performance degradation.
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.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the recommended fix to mitigate any potential risks.
This vulnerability requires an attacker to have sufficient privileges in a non-init netns. Therefore, remote exploitation is unlikely unless the attacker already has access to the targeted system or network namespace.
The recommended solution is to update the Linux Kernel to the fixed version. However, if updating the Kernel is not feasible, implementing strict access controls and limiting privileges in non-init netns can help mitigate the risk associated with this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.