Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2023-48706

Public on 2023-11-22
Modified on 2024-01-12
Description

Vim is a UNIX editor that, prior to version 9.0.2121, has a heap-use-after-free vulnerability. When executing a `:s` command for the very first time and using a sub-replace-special atom inside the substitution part, it is possible that the recursive `:s` call causes free-ing of memory which may later then be accessed by the initial `:s` command. The user must intentionally execute the payload and the whole process is a bit tricky to do since it seems to work only reliably for the very first :s command. It may also cause a crash of Vim. Version 9.0.2121 contains a fix for this issue.

Severity
Low
See what this means
CVSS v3 Base Score
3.6
See breakdown
Continue reading

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Core vim 2024-01-03 21:04 ALAS2-2024-2384
Amazon Linux 2 - Core vim 2024-02-15 03:52 ALAS2-2024-2452
Amazon Linux 2023 vim 2024-02-15 02:51 ALAS2023-2024-518
Amazon Linux 2023 vim 2024-01-03 23:20 ALAS2023-2024-469

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 3.6 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
NVD CVSSv3 3.6 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L