erspan: Do Not Assume Transport Header is Always Set
Summary
GSD-2022-1004830: erspan: do not assume transport header is always set. Affects Kernel versions >= d5db21a3e6977dcb42cee3d16cd69901fa66510a, < fb401f37f6eadf24956d93687e5758c163c0d12b. 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 erspan package is a component of the Linux Kernel ecosystem. It provides functionality for encapsulating Ethernet frames in GRE (Generic Routing Encapsulation) headers for ERSPAN (Encapsulated Remote SPAN) traffic. ERSPAN is a network monitoring feature that allows the mirroring of network traffic from one or more source ports to a destination port for analysis.
The vulnerability in erspan arises from an assumption made by the code that the transport header is always set. This assumption can lead to potential security vulnerabilities.
Vulnerability Detail
The vulnerability in erspan occurs due to an incorrect assumption made by the code that the transport header is always set. This assumption can be exploited by an attacker to manipulate the behavior of the erspan package, potentially leading to security vulnerabilities. The impact and attack plausibility of this vulnerability have not yet been proven.
The vulnerability was introduced in version v4.18 of the Linux Kernel by commit d5db21a3e6977dcb42cee3d16cd69901fa66510a. It has been fixed in version v4.19.250 by commit fb401f37f6eadf24956d93687e5758c163c0d12b.
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 →
Conclusion
The erspan package in the Linux Kernel is vulnerable to a security issue where the code assumes that the transport header is always set. This vulnerability can potentially be exploited by attackers. It is recommended to update the Linux Kernel to version v4.19.250 or later to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The erspan package is a component of the Linux Kernel ecosystem that provides functionality for encapsulating Ethernet frames in GRE headers for ERSPAN traffic.
ERSPAN (Encapsulated Remote SPAN) is a network monitoring feature that allows the mirroring of network traffic from one or more source ports to a destination port for analysis.
The impact of this vulnerability is not yet proven. However, it has the potential to be exploited by attackers to manipulate the behavior of the erspan package, leading to security vulnerabilities.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.250 or later, which includes the necessary fix commit.
No specific workaround has been provided for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.