Vulnerability in selinux: add proper NULL termination to the secclass_map permissions
Summary
UVI-2021-1000402: selinux: add proper NULL termination to the secclass_map permissions. Affects Kernel versions >= ec27c3568a34c7fe5fcf4ac0a354eda77687f7eb, < 4c0ddc8712d9cd26459091c9f0c9e1a9f64815dc. 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 selinux package is a security module in the Linux Kernel that provides access control security policies. It enforces mandatory access control policies that restrict user and process access to various system resources. The secclass_map permissions are used to define the security classes and their associated permissions. However, a vulnerability has been discovered in the selinux package that results in improper NULL termination in the secclass_map permissions.
Vulnerability Detail
The vulnerability in the selinux package allows for potential security risks. The lack of proper NULL termination in the secclass_map permissions can lead to memory corruption or information disclosure. An attacker could exploit this vulnerability to bypass security restrictions, escalate privileges, or execute arbitrary code. The vulnerability was introduced in version v4.15 of the Linux Kernel and has been fixed in version v5.10.37.
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
There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version.
Conclusion
The vulnerability in the selinux package, which lacks proper NULL termination in the secclass_map permissions, can pose significant security risks. It is crucial to update the Linux Kernel to version v5.10.37 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to memory corruption, information disclosure, privilege escalation, or arbitrary code execution.
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.
No, there is no known workaround for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.
Yes, this vulnerability can be exploited remotely if an attacker can gain access to the affected system.
There is no information available regarding exploitation of this vulnerability in the wild at this time.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.