Buffer Copy Overflow Vulnerability in erofs
Summary
GSD-2022-1003101: erofs: fix buffer copy overflow of ztailpacking feature. Affects Kernel versions >= ab749badf9f41f32509cd103391b81ea7e684b76, < 4d53a625f29074e7b8236c2c0e0922edb7608df9. 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 erofs package is a component of the Linux Kernel, which is responsible for managing the file system. It provides support for the Enhanced Read-Only File System (erofs) in Linux. The erofs file system is designed to optimize storage efficiency and reduce memory consumption. However, a vulnerability has been discovered in the ztailpacking feature of erofs, which can lead to a buffer copy overflow.
Vulnerability Detail
The buffer copy overflow vulnerability in the ztailpacking feature of erofs allows an attacker to overwrite adjacent memory locations beyond the intended buffer boundaries. This can result in the corruption of sensitive data, execution of arbitrary code, or a system crash. The vulnerability was introduced in version v5.17 of the Linux Kernel and was fixed in version v5.17.14.
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 to mitigate the risk.
Conclusion
The buffer copy overflow vulnerability in the ztailpacking feature of erofs can have severe consequences, including data corruption, code execution, or system crashes. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The buffer copy overflow vulnerability in erofs can lead to the corruption of sensitive data, execution of arbitrary code, or a system crash.
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.
At the time of this report, there are no known exploits for this vulnerability. However, it is crucial to update the Linux Kernel to the fixed version to prevent any potential attacks.
Yes, this vulnerability can be exploited remotely if an attacker can send malicious input to the affected system.
For more details about this vulnerability, you can refer to the source link provided in the vulnerability details section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.