CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
18.9%
Issue Overview:
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. (CVE-2023-48706)
Affected Packages:
vim
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update vim to update your system.
New Packages:
aarch64:
vim-common-9.0.2153-1.amzn2.0.1.aarch64
vim-minimal-9.0.2153-1.amzn2.0.1.aarch64
vim-enhanced-9.0.2153-1.amzn2.0.1.aarch64
vim-X11-9.0.2153-1.amzn2.0.1.aarch64
xxd-9.0.2153-1.amzn2.0.1.aarch64
vim-debuginfo-9.0.2153-1.amzn2.0.1.aarch64
i686:
vim-common-9.0.2153-1.amzn2.0.1.i686
vim-minimal-9.0.2153-1.amzn2.0.1.i686
vim-enhanced-9.0.2153-1.amzn2.0.1.i686
vim-X11-9.0.2153-1.amzn2.0.1.i686
xxd-9.0.2153-1.amzn2.0.1.i686
vim-debuginfo-9.0.2153-1.amzn2.0.1.i686
noarch:
vim-filesystem-9.0.2153-1.amzn2.0.1.noarch
vim-data-9.0.2153-1.amzn2.0.1.noarch
src:
vim-9.0.2153-1.amzn2.0.1.src
x86_64:
vim-common-9.0.2153-1.amzn2.0.1.x86_64
vim-minimal-9.0.2153-1.amzn2.0.1.x86_64
vim-enhanced-9.0.2153-1.amzn2.0.1.x86_64
vim-X11-9.0.2153-1.amzn2.0.1.x86_64
xxd-9.0.2153-1.amzn2.0.1.x86_64
vim-debuginfo-9.0.2153-1.amzn2.0.1.x86_64
Red Hat: CVE-2023-48706
Mitre: CVE-2023-48706
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | vim-common | < 9.0.2153-1.amzn2.0.1 | vim-common-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-minimal | < 9.0.2153-1.amzn2.0.1 | vim-minimal-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-enhanced | < 9.0.2153-1.amzn2.0.1 | vim-enhanced-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-x11 | < 9.0.2153-1.amzn2.0.1 | vim-X11-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | xxd | < 9.0.2153-1.amzn2.0.1 | xxd-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | vim-debuginfo | < 9.0.2153-1.amzn2.0.1 | vim-debuginfo-9.0.2153-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | i686 | vim-common | < 9.0.2153-1.amzn2.0.1 | vim-common-9.0.2153-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-minimal | < 9.0.2153-1.amzn2.0.1 | vim-minimal-9.0.2153-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-enhanced | < 9.0.2153-1.amzn2.0.1 | vim-enhanced-9.0.2153-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | vim-x11 | < 9.0.2153-1.amzn2.0.1 | vim-X11-9.0.2153-1.amzn2.0.1.i686.rpm |
CVSS3
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
AI Score
Confidence
High
EPSS
Percentile
18.9%