Vulnerability in Kernel package: tpm: efi: Use local variable for calculating final log size
Summary
GSD-2021-1000066: tpm: efi: Use local variable for calculating final log size. Affects Kernel versions >= 166a2809d65b282272c474835ec22c882a39ca1b, < ac07c557ca12ec9276c0375517bac7ae5be4e50c. 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 package is a vital component of the Linux operating system, responsible for managing the system's core functionality. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The tpm: efi module within the Kernel package is specifically designed to handle Trusted Platform Module (TPM) operations in the EFI (Extensible Firmware Interface) environment. TPM is a hardware-based security feature that provides cryptographic functions and secure storage for sensitive data. However, a vulnerability has been discovered in the tpm: efi module that could potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the tpm: efi module arises from the improper calculation of the final log size. By not using a local variable for this calculation, the module is susceptible to potential buffer overflows or underflows. This could lead to memory corruption, arbitrary code execution, or other security breaches. The vulnerability was introduced in version v5.3 of the Linux Kernel and has been fixed in version v5.12.3.
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, users can disable the tpm: efi module if it is not essential for their system's functionality. This can be done by modifying the Kernel configuration and rebuilding the Kernel without including the tpm: efi module. However, this workaround should only be considered if the module is not required, as it may impact the system's security posture.
Conclusion
In conclusion, the tpm: efi module in the Kernel package has a vulnerability that can be exploited to compromise system security. It is crucial to update the Kernel package to version v5.12.3 or later to mitigate this vulnerability. If you require further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability could potentially allow attackers to exploit the tpm: efi module and gain unauthorized access to sensitive data, execute arbitrary code, or cause system instability.
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 Vulert 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 fix or workaround to mitigate any potential risks.
No, the fix for this vulnerability is included in the updated Kernel package. It is recommended to update the entire package to the latest version to ensure the vulnerability is properly addressed.
You can refer to the vulnerability details in the GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000066.json) for more information about this specific vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.