netfilter: synproxy: Fix out of bounds when parsing TCP options
Summary
GSD-2021-1000919: netfilter: synproxy: Fix out of bounds when parsing TCP options. Affects Kernel versions >= 48b1de4c110a7afa4b85862f6c75af817db26fad, < 6defc77d48eff74075b80ad5925061b2fc010d98. 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 ecosystem and is responsible for implementing packet filtering and network address translation (NAT) in the Linux operating system. It provides functionality for firewalling, network traffic control, and network address translation. The synproxy module within netfilter is specifically designed to protect against SYN flood attacks by acting as a proxy for TCP connections. It intercepts and validates incoming SYN packets before forwarding them to the destination. However, a vulnerability has been discovered in the synproxy module that can lead to an out-of-bounds read when parsing TCP options.
Vulnerability Detail
The vulnerability in the netfilter synproxy module arises from a flaw in the parsing of TCP options. When processing TCP packets with certain options, the code fails to perform proper bounds checking, leading to an out-of-bounds read. An attacker could exploit this vulnerability by sending specially crafted TCP packets to a target system protected by the synproxy module. Successful exploitation could result in the disclosure of sensitive information or a denial of service (DoS) condition. It is important to note that the impact and attack plausibility of this vulnerability have not yet 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 specific workaround mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Linux Kernel to the latest stable version.
Conclusion
The netfilter synproxy module in the Linux Kernel is vulnerable to an out-of-bounds read when parsing TCP options. This vulnerability can potentially lead to the disclosure of sensitive information or a denial of service (DoS) condition. To mitigate this issue, it is recommended to update the Linux Kernel to version v5.4.128 or later. 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 functionality for packet filtering, network address translation (NAT), and network traffic control.
The synproxy module is a part of the netfilter package and is designed to protect against SYN flood attacks by acting as a proxy for TCP connections.
An out-of-bounds read vulnerability occurs when a program accesses memory outside the bounds of a buffer or array. This can lead to the disclosure of sensitive information or a denial of service (DoS) condition.
An attacker can exploit this vulnerability by sending specially crafted TCP packets to a system protected by the synproxy module. Successful exploitation could result in the disclosure of sensitive information or a denial of service (DoS) condition.
No, the impact and attack plausibility of this vulnerability have not yet been proven. Further analysis and testing are required to determine the actual impact.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.