PT-2022-4243 · Vim+6 · Vim+6
Brammool
·
Published
2022-08-17
·
Updated
2024-06-15
·
CVE-2022-2845
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Vim versions prior to 9.0.0218
Description
The issue is related to the
utf head off() function in the Vim text editor, which lacks buffer length checks and can lead to out-of-bounds memory reads. This can potentially allow an attacker to impact the confidentiality, integrity, and availability of protected information. The vulnerability is due to improper validation of specified quantities in input.Recommendations
For versions prior to 9.0.0218, update to version 9.0.0218 or later to resolve the issue. As a temporary workaround, consider restricting the use of the
utf head off() function until a patch is available.Exploit
Fix
Buffer Over-read
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Debian
Linuxmint
Suse
Ubuntu
Vim