Array Index Out-of-Bounds Vulnerability in media: pvrusb2
Summary
GSD-2022-1004010: media: pvrusb2: fix array-index-out-of-bounds in pvr2_i2c_core_init. Affects Kernel versions >= d855497edbfbf9e19a17f4a1154bca69cb4bd9ba, < 2e004fe914b243db41fa96f9e583385f360ea58e. 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 media package in the Linux Kernel is responsible for handling various media devices, including video capture cards. One such device is the pvrusb2, which is used for capturing video from Pinnacle PCTV USB devices. The pvrusb2 driver in the media package provides the necessary functionality for these devices to work properly. However, a vulnerability has been discovered in the pvr2_i2c_core_init function of the pvrusb2 driver, which can lead to an array index out-of-bounds error.
Vulnerability Detail
The vulnerability in the pvr2_i2c_core_init function occurs when initializing the I2C core for the pvrusb2 driver. Due to improper bounds checking, an attacker can provide malicious input that exceeds the bounds of an array, resulting in an out-of-bounds read or write. This can lead to various consequences, including information disclosure, denial of service, or even remote code execution. The vulnerability was introduced in version v2.6.18 of the Linux Kernel and has been fixed in version v4.14.283.
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
If updating the Linux Kernel is not immediately feasible, a possible workaround is to disable the pvrusb2 driver or remove the affected hardware from the system. This can help mitigate the risk of exploitation until a proper fix can be applied. However, it is important to note that this workaround may result in the loss of functionality provided by the pvrusb2 driver.
Conclusion
In conclusion, the media package in the Linux Kernel is vulnerable to an array index out-of-bounds error in the pvrusb2 driver. This vulnerability can have serious consequences, including information disclosure, denial of service, or remote code execution. It is crucial to update the Linux Kernel to version v4.14.283 or later to mitigate this vulnerability. If immediate updating is not possible, disabling the pvrusb2 driver or removing the affected hardware can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability can vary depending on the attacker's capabilities and the specific context in which the vulnerable system is deployed. However, potential consequences include information disclosure, denial of service, or remote code execution.
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 Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known public exploit for this vulnerability. However, it is always advisable to apply security patches promptly to mitigate the risk of exploitation.
As mentioned in the 'workaround' section, you can disable the pvrusb2 driver or remove the affected hardware from your system as a temporary measure to mitigate the risk. However, it is important to note that this may result in the loss of functionality provided by the pvrusb2 driver.
For more detailed information about this vulnerability, including technical details and the specific fix implemented, you can refer to the source link provided in the 'affected' section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.