Vulnerability in Kernel package: tty: goldfish: Use tty_port_destroy() to destroy port
Summary
GSD-2022-1003867: tty: goldfish: Use tty_port_destroy() to destroy port. Affects Kernel versions >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 326192b99c903a2193d820c30ed936cc2402382c. 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 fundamental component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices, including terminals and serial ports. The tty subsystem within the Kernel handles input and output to these devices. One specific component, goldfish, is responsible for emulating a virtual serial port for Android emulators. However, a vulnerability has been discovered in the goldfish module that can lead to potential security issues.
Vulnerability Detail
The vulnerability in the goldfish module of the Kernel package arises from the improper destruction of the tty port. Instead of using the recommended tty_port_destroy() function, an incorrect method is employed. This vulnerability can potentially be exploited by malicious actors to gain unauthorized access or execute arbitrary code on the affected system. 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 workaround has been provided for this vulnerability.
Conclusion
In conclusion, a vulnerability has been identified in the goldfish module of the Kernel package. It is recommended to update the Kernel package to version v4.19.247 or later to fix this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability is not yet proven, but it has the potential to allow unauthorized access or arbitrary code execution on the affected system.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.
No known exploit for this vulnerability has been reported at this time.
The recommended mitigation is to update the Kernel package to the fixed version mentioned earlier.
You can find more information about this vulnerability in the GSD-2022-1003867.json file located in the GSD database repository at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003867.json.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.