Out-of-Bounds Read Vulnerability in libXpm: CVE-2023-43789
Summary
ALPINE-CVE-2023-43789: A vulnerability was found in libXpm where a vulnerability exists due to a boundary condition, a local user can trigger an out-of-bounds read error and read contents of memory on the system. Affects libxpm versions < 3.5.17-r0. Fixed in 3.5.17-r0. 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
libXpm is a library used for handling X Pixmap (XPM) image files, which are commonly utilized in graphical applications. It provides functionalities for reading and writing XPM files, making it an essential component for applications that require image processing. However, a recent vulnerability has been identified that exposes the library to potential security risks.
Vulnerability Detail
A vulnerability exists in libXpm due to a boundary condition that allows a local user to trigger an out-of-bounds read error. This can lead to unauthorized access to sensitive information stored in memory, potentially exposing critical data to attackers. The vulnerability is rooted in improper handling of input, which fails to adequately check the boundaries of memory access, resulting in the possibility of reading beyond allocated memory.
How To Fix
Minimum fixed version
3.5.17-r0
This is the first release that contains the fix.
sudo apk add --upgrade libxpm
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can restrict access to the libXpm library or limit the execution of applications that depend on it until the package is updated to a secure version.
Conclusion
The vulnerability identified as CVE-2023-43789 in the libXpm library poses a significant risk due to its potential for unauthorized memory access. It is crucial for users to update to the patched version to mitigate this risk and ensure the security of their applications.
See every vulnerability recorded for libxpm →
FAQ
CVE-2023-43789 is a security vulnerability in the libXpm library that allows for out-of-bounds read errors, potentially exposing sensitive memory contents.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
The vulnerability can lead to unauthorized access to sensitive information, which may compromise the security of the system and its data.
Yes, a patch is available in version 3.5.17-r0 of the libXpm package. It is recommended to update to this version or later.
The CVSS score of this vulnerability is 5.5, indicating a moderate level of severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for libxpm.