isdn: cpai: Array Index Out of Bounds in ctr->cnr
Summary
GSD-2021-1001920: isdn: cpai: check ctr->cnr to avoid array index out of bound. Affects Kernel versions < e8b8de17e164c9f1b7777f1c6f99d05539000036. 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 isdn package is a component of the Linux Kernel, which is responsible for handling Integrated Services Digital Network (ISDN) connections. ISDN is a set of communication standards used for transmitting voice, video, and data over digital telephone lines. The isdn package provides the necessary functionality for establishing and managing ISDN connections on Linux systems. However, a vulnerability has been discovered in the cpai module of the isdn package, which can lead to an array index out of bounds error.
Vulnerability Detail
The vulnerability in the cpai module of the isdn package arises from a lack of proper bounds checking on the ctr->cnr variable. This can allow an attacker to manipulate the value of ctr->cnr and cause an array index out of bounds error. Exploiting this vulnerability could lead to various consequences, such as crashing the system, executing arbitrary code, or escalating privileges. The vulnerability has been assigned the ID GSD-2021-1001920 and has been fixed in Linux Kernel version v4.4.290 by commit e8b8de17e164c9f1b7777f1c6f99d05539000036.
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 workaround, users can disable the isdn module or remove the affected cpai module from the Kernel configuration. However, this may result in the loss of ISDN functionality. Here is an example of how to disable the isdn module:
- Open the terminal.
- Run the command: sudo rmmod isdn
Please note that this workaround is temporary and should be followed by updating the Kernel to a fixed version as soon as possible.
Conclusion
The isdn package in the Linux Kernel is vulnerable to an array index out of bounds error in the cpai module. This vulnerability can be exploited to crash the system, execute arbitrary code, or escalate privileges. It is recommended to update the Linux Kernel to version v4.4.290 or later to fix this vulnerability. Users can also temporarily disable the isdn module as a workaround, but updating the Kernel is essential. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The isdn package is a component of the Linux Kernel that handles Integrated Services Digital Network (ISDN) connections.
An array index out of bounds error occurs when a program tries to access an element of an array using an index that is outside the valid range of indices for that array. This can lead to memory corruption, crashes, or other unexpected behavior.
Exploiting this vulnerability can result in crashing the system, executing arbitrary code, or escalating privileges. The specific impact may vary depending on the attacker's intentions and the system's configuration.
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.
You can find more information about this vulnerability, including the fix commit and the affected versions, in the GSD-2021-1001920 JSON file available on the Cloud Security Alliance's GSD Database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001920.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.