Vulnerability in cifs package: Return correct error code from smb2_get_enc_key
Summary
GSD-2021-1000178: cifs: Return correct error code from smb2_get_enc_key. Affects Kernel versions >= 61cfac6f267dabcf2740a7ec8a0295833b28b5f5, < 93f3339b22ba17e66f0808737467b70ba087eaec. 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 cifs package is a component of the Linux Kernel ecosystem. It provides support for the Common Internet File System (CIFS) protocol, allowing Linux systems to access files and resources on remote Windows servers. The package includes various functions and modules for handling CIFS operations, including smb2_get_enc_key. This vulnerability specifically affects the smb2_get_enc_key function.
Vulnerability Detail
The smb2_get_enc_key function in the cifs package has a flaw that results in the incorrect return of an error code. This vulnerability was introduced in version v4.11 of the Linux Kernel and fixed in version v5.4.118. An attacker could potentially exploit this vulnerability to bypass security measures or cause unexpected behavior in CIFS operations. The impact and attack plausibility of this vulnerability have not been proven yet.
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
No specific workaround has been provided for this vulnerability.
Conclusion
The cifs package in the Linux Kernel is vulnerable to a flaw in the smb2_get_enc_key function. To mitigate this vulnerability, users should update their Linux Kernel to version v5.4.118 or later. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The cifs package is a component of the Linux Kernel ecosystem that provides support for the Common Internet File System (CIFS) protocol.
smb2_get_enc_key is a function in the cifs package that is used for obtaining an encryption key in SMB2 operations.
The impact of this vulnerability is currently unknown. It could potentially allow attackers to bypass security measures or cause unexpected behavior in CIFS operations.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.118 or later.
Users can obtain the updated Kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.