CVE-2022-0318

Public on 2022-01-21
Modified on 2023-01-18
Description
A flaw was found in vim. The vulnerability occurs due to reading beyond the end of a line in the utf_head_off function, which can lead to a heap buffer overflow. 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
6.6
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 vim 2022-02-17 ALAS-2022-1567 Fixed
Amazon Linux 1 vim 2022-05-31 ALAS-2022-1597 Fixed
Amazon Linux 2 - Core vim 2022-02-15 ALAS2-2022-1751 Fixed
Amazon Linux 2023 vim 2023-02-17 ALAS2023-2023-098 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 6.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
NVD CVSSv2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
NVD CVSSv3 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H