CVE-2022-1851

Public on 2022-05-25
Modified on 2024-01-12
Description
A flaw was found in vim. The vulnerability occurs due to Illegal memory access and leads to an out-of-bounds read vulnerability in the gchar_cursor function. This flaw allows an attacker to input a specially crafted file, leading to a crash or code execution.
Severity
Medium severity
Medium
CVSS v3 Base Score
7.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 vim 2022-07-28 ALAS-2022-1628 Fixed
Amazon Linux 2 - Core vim 2022-07-19 ALAS2-2022-1829 Fixed
Amazon Linux 2023 vim 2023-02-17 ALAS2023-2023-098 Fixed
Amazon Linux 2 - Core vim-8.0.1257-2.amzn2.0.1 Pending Fix
Amazon Linux 2 - Core vim-8.2.4857-1.amzn2.0.1 Pending Fix
Amazon Linux 2023 vim-8.2.4857-1.amzn2022 Pending Fix
Amazon Linux 1 vim-8.2.4877-1.1.amzn1 No Fix Planned

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD CVSSv2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P
NVD CVSSv3 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H