CVE-2023-37454: linux-libc-dev - Use-After-Free Write in udf_close_lvid
Summary
CVE-2023-37454: An issue was discovered in the Linux kernel through 6.4.2. Affects linux versions 5.10.103-1 – 6.9.9-1. 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
linux-libc-dev is a package that provides the Linux kernel headers for use by glibc and other C libraries. It contains the necessary header files and static libraries for compiling C programs that use system calls and other kernel interfaces. The linux-libc-dev package is an essential component for building and running applications on Linux systems. However, a vulnerability has been discovered in versions up to 6.1.90-1 that can be exploited by a crafted UDF filesystem image, leading to a use-after-free write operation in the udf_put_super and udf_close_lvid functions in fs/udf/super.c.
Vulnerability Detail
The vulnerability in linux-libc-dev allows an attacker to execute arbitrary code or cause a denial of service (DoS) condition by exploiting a use-after-free write operation. By creating a specially crafted UDF filesystem image, an attacker can trigger the vulnerability and overwrite memory that is no longer valid, potentially leading to the execution of arbitrary code or crashing the system. This vulnerability can be exploited remotely by enticing a user to mount a malicious UDF filesystem image.
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
At present, there is no known workaround for this vulnerability. It is recommended to apply the official patch provided by the Linux kernel developers or update the linux-libc-dev package to a patched version as soon as it becomes available.
Conclusion
The vulnerability in linux-libc-dev can be exploited by a crafted UDF filesystem image, leading to a use-after-free write operation. To mitigate this vulnerability, it is crucial to update the linux-libc-dev package to a version that includes the patch for CVE-2023-37454. Regularly updating the linux-libc-dev package is essential to ensure the system is protected against known vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a package that provides the Linux kernel headers for use by glibc and other C libraries. It contains the necessary header files and static libraries for compiling C programs that use system calls and other kernel interfaces.
A use-after-free vulnerability occurs when a program continues to use a memory address after it has been freed. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.
This vulnerability can be exploited by creating a specially crafted UDF filesystem image and enticing a user to mount it. When the filesystem image is mounted, the use-after-free write operation is triggered, potentially leading to the execution of arbitrary code or crashing the system.
At present, there is no known workaround for this vulnerability. It is recommended to apply the official patch provided by the Linux kernel developers or update the linux-libc-dev package to a patched version as soon as it becomes available.
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 to the playground, and it will analyze the dependencies and alert you if any vulnerabilities, including CVE-2023-37454, are found.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.