Vulnerability in Linux Kernel: cgroup: verify that source is a string
Summary
GSD-2021-1001344: cgroup: verify that source is a string. Affects Kernel versions >= 8d2451f4994fa60a57617282bab91b98266a00b1, < c17363ccd620c1a57ede00d5c777f0b8624debe6. 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 Linux Kernel is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It is widely used across various Linux distributions and powers a significant portion of the computing infrastructure worldwide. One of its features is the control group (cgroup) subsystem, which allows for resource allocation and isolation. However, a vulnerability has been discovered in the cgroup subsystem that could potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the cgroup subsystem of the Linux Kernel involves a failure to properly verify that the 'source' parameter is a string. This oversight could lead to various security issues, including potential memory corruption or privilege escalation attacks. Although the impact and attack plausibility have not been proven, it is crucial to address this vulnerability to ensure the integrity and security of the system.
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 apply the patch provided in the commit c17363ccd620c1a57ede00d5c777f0b8624debe6 manually. The patch modifies the relevant code to include the necessary validation for the 'source' parameter. Here is an example of the code change:
- if (!is_string(source)) {
+ if (!is_string(source) || !source) {
return -EINVAL;
}
Conclusion
In conclusion, a vulnerability has been discovered in the cgroup subsystem of the Linux Kernel, which could potentially lead to memory corruption or privilege escalation attacks. It is crucial to update the Linux Kernel to version v5.4.134 or later to mitigate this vulnerability. Alternatively, users can apply the provided patch manually. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially include memory corruption or privilege escalation attacks. However, the actual impact and attack plausibility have not been proven.
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 to the playground, and it will alert you in real-time if the vulnerability is present.
The vulnerability was introduced in version v5.1 of the Linux Kernel and is present in all versions up to v5.4.133. It has been fixed in version v5.4.134 and later.
Yes, a patch is available in commit c17363ccd620c1a57ede00d5c777f0b8624debe6. Users can apply this patch manually to address the vulnerability.
You can find more information about this vulnerability in the GSD-2021-1001344 entry of the GSD Database maintained by the Cloud Security Alliance. The link to the entry is available in the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.