Vulnerability in net/tls package of Linux Kernel
Summary
GSD-2022-1001693: net/tls: fix slab-out-of-bounds bug in decrypt_internal. Affects Kernel versions >= f295b3ae9f5927e084bd5decdff82390e3471801, < 6e2f1b033b17dedda51d465861b69e58317d6343. 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 net/tls package is a component of the Linux Kernel that provides Transport Layer Security (TLS) functionality for network communication. It is responsible for encrypting and decrypting data transmitted over the network to ensure secure communication. However, a vulnerability has been discovered in the package that can lead to a slab-out-of-bounds bug in the decrypt_internal function.
Vulnerability Detail
The slab-out-of-bounds bug in the decrypt_internal function of the net/tls package allows an attacker to access memory outside the boundaries of allocated slabs. This can potentially lead to information disclosure or even remote code execution. The vulnerability was introduced in version v5.2 of the Linux Kernel and has been fixed in version v5.15.34.
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
As a temporary workaround, it is possible to disable the net/tls functionality in the Linux Kernel. This can be achieved by modifying the kernel configuration to exclude the net/tls module during the build process. However, this workaround may impact the secure communication capabilities of the system and should only be considered if updating the kernel is not immediately feasible.
Conclusion
The net/tls package in the Linux Kernel is vulnerable to a slab-out-of-bounds bug in the decrypt_internal function. This can lead to memory corruption, information disclosure, or remote code execution. It is crucial to update the Linux Kernel to version v5.15.34 or later to fix this vulnerability. If immediate kernel update is not possible, consider disabling the net/tls functionality as a temporary workaround. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The net/tls package is a component of the Linux Kernel that provides Transport Layer Security (TLS) functionality for network communication. It ensures secure encryption and decryption of data transmitted over the network.
A slab-out-of-bounds bug refers to a situation where an application or component accesses memory outside the boundaries of allocated slabs. This can lead to memory corruption, information disclosure, or even remote code execution.
The vulnerability in the net/tls package can potentially allow an attacker to access sensitive information or execute arbitrary code on the affected system. This can lead to unauthorized access, data leakage, or system compromise.
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 the playground will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to apply the recommended fixes and keep the system up to date to mitigate any potential risks.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.