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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2022-2616
ALT-PU-2022-2704
ALT-PU-2022-2714
ALT-PU-2022-3192
AZL-10569
BDU:2022-05093
CVE-2022-2845
MGASA-2022-0430
OESA-2022-1865
OPENSUSE-SU-2022_3229-1
OPENSUSE-SU-2024:12275-1
SUSE-SU-2022:3229-1
SUSE-SU-2022:4619-1
USN-5995-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Suse
Ubuntu
Vim